summarylogtreecommitdiffstats
path: root/retroarch-standalone.service
blob: 8adfc4f980e37affa1676660907dd83f46e73d42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Systemd service and user to run Retroarch in stand-alone mode
After=systemd-user-sessions.service network.target sound.target
Conflicts=getty@tty1.service

[Service]
User=retroarch
Group=retroarch
PAMName=login
TTYPath=/dev/tty1
ExecStartPre=/usr/bin/sleep 2s
ExecStart=/usr/bin/xinit -- :0 -nolisten tcp vt1
Restart=always
StandardInput=tty

[Install]
WantedBy=multi-user.target