2015-01-14 07:42:24 +00:00
|
|
|
[Unit]
|
|
|
|
Description = Starts an instance of Kodi
|
|
|
|
After = remote-fs.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User = kodi
|
|
|
|
Group = kodi
|
|
|
|
Type = simple
|
2015-09-06 09:32:46 +00:00
|
|
|
PermissionsStartOnly = true
|
|
|
|
ExecStartPre = /bin/sh -c "dmesg -D"
|
2015-04-04 20:22:21 +00:00
|
|
|
ExecStartPre = /bin/sh -c "echo 0 > /sys/class/graphics/fbcon/cursor_blink"
|
2015-04-04 02:31:12 +00:00
|
|
|
ExecStart = /usr/bin/kodi-standalone -l /run/lirc/lircd
|
2015-04-04 20:22:21 +00:00
|
|
|
ExecStopPost = /bin/sh -c "echo 1 > /sys/class/graphics/fbcon/cursor_blink"
|
2015-09-14 14:09:13 +00:00
|
|
|
ExecStopPost = /bin/sh -c "dmesg -E"
|
2015-01-14 07:42:24 +00:00
|
|
|
Restart = on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy = multi-user.target
|