29 lines
712 B
INI
29 lines
712 B
INI
[Unit]
|
|
After=systemd-user-sessions.service plymouth-quit-wait.service
|
|
Before=graphical.target
|
|
ConditionPathExists=/dev/tty1
|
|
Wants=dbus.socket systemd-logind.service
|
|
After=dbus.socket systemd-logind.service
|
|
Conflicts=getty@tty1.service
|
|
After=getty@tty1.service
|
|
Wants=time-sync.target
|
|
After=time-sync.target
|
|
|
|
[Service]
|
|
TemporaryFileSystem=/home
|
|
ExecStartPre=!/bin/install -o kiosk -g kiosk -d -m u=rwx,go= /home/kiosk
|
|
ExecStart=/usr/bin/sway
|
|
User=kiosk
|
|
Environment=WLR_RENDERER_ALLOW_SOFTWARE=1
|
|
Environment=WLR_LIBINPUT_NO_DEVICES=1
|
|
StandardInput=tty
|
|
StandardOutput=tty
|
|
StandardError=journal
|
|
TTYPath=/dev/tty1
|
|
TTYReset=yes
|
|
TTYVHangup=yes
|
|
TTYVTDisallocate=yes
|
|
PAMName=system-login
|
|
UtmpMode=user
|
|
UtmpIdentifier=tty1
|