21 lines
648 B
Desktop File
21 lines
648 B
Desktop File
# Stolen from here: https://github.com/graysky2/kodi-standalone-service
|
|
|
|
[Unit]
|
|
Description=Kodi standalone
|
|
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]
|
|
User=mediabox
|
|
Group=mediabox
|
|
PAMName=login
|
|
TTYPath=/dev/tty1
|
|
ExecStart=/usr/bin/kodi-standalone
|
|
ExecStop=/usr/bin/killall --user mediabox --exact --wait kodi.bin
|
|
Restart=on-abort
|
|
StandardInput=tty
|
|
StandardOutput=journal
|
|
|
|
[Install]
|
|
Alias=display-manager.service |