retroarch-standalone-service/init/kodi.service

23 lines
715 B
Desktop File

[Unit]
Description=Kodi standalone (X11)
After=remote-fs.target systemd-user-sessions.service network-online.target nss-lookup.target sound.target bluetooth.target polkit.service upower.service mysqld.service
Wants=network-online.target polkit.service upower.service
Conflicts=getty@tty1.service
[Service]
User=kodi
Group=kodi
EnvironmentFile=-/etc/conf.d/kodi-standalone
PAMName=login
TTYPath=/dev/tty1
Environment=WINDOWING=x11
ExecStart=/usr/bin/xinit /usr/bin/kodi-standalone -- :0 -nolisten tcp vt1
ExecStop=/usr/bin/pkill kodi
Restart=on-abort
StandardInput=tty
StandardOutput=file:/var/log/kodi-x11-standalone.log
StandardError=file:/var/log/kodi-x11-standalone.log
[Install]
Alias=display-manager.service