PKGBUILDs/alarm/kodi-imx/kodi.service

19 lines
494 B
SYSTEMD
Raw Normal View History

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
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"
ExecStopPost = /bin/sh -c "dmesg -E"
2015-01-14 07:42:24 +00:00
Restart = on-failure
[Install]
WantedBy = multi-user.target