PKGBUILDs/alarm/kodi-imx/kodi.service

16 lines
392 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
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-01-14 07:42:24 +00:00
Restart = on-failure
[Install]
WantedBy = multi-user.target