PKGBUILDs/alarm/kodi-c2/kodi.service
2018-12-29 08:50:45 -07:00

18 lines
449 B
Desktop File

[Unit]
Description = Kodi for C2
After = remote-fs.target
[Service]
User = kodi
Group = kodi
Type = simple
PermissionsStartOnly = true
ExecStartPre = /bin/sh -c "dmesg -D"
ExecStartPre = /bin/sh -c "echo 0 > /sys/class/graphics/fbcon/cursor_blink"
ExecStart = /usr/bin/kodi
ExecStopPost = /bin/sh -c "echo 1 > /sys/class/graphics/fbcon/cursor_blink"
ExexStopPost = /bin/sh -c "dmesg -E"
Restart = on-failure
[Install]
WantedBy = multi-user.target