retroarch-standalone-service/x86/init/retroarch-x11.service

21 lines
681 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
2022-09-19 10:53:54 +02:00
Description=RetroArch standalone (X11)
2022-02-21 11:38:58 +01:00
After=remote-fs.target systemd-user-sessions.service network-online.target nss-lookup.target sound.target bluetooth.target polkit.service upower.service mysqld.service lircd.service
Wants=network-online.target polkit.service upower.service
Conflicts=getty@tty1.service
[Service]
2022-09-19 10:53:54 +02:00
User=retroarch
Group=retroarch
EnvironmentFile=-/etc/conf.d/retroarch-standalone
PAMName=login
TTYPath=/dev/tty1
2022-09-19 10:53:54 +02:00
ExecStart=/usr/bin/xinit /usr/bin/retroarch -- :0 -quiet -nolisten tcp vt1
ExecStop=/usr/bin/killall --user retroarch --exact --wait retroarch
Restart=on-abort
StandardInput=tty
StandardOutput=journal
[Install]
Alias=display-manager.service