initial commit

This commit is contained in:
2022-05-05 19:42:51 +02:00
commit 8f331bacc3
3 changed files with 179 additions and 0 deletions

21
kodi.service Normal file
View File

@@ -0,0 +1,21 @@
# 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