mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
18 lines
494 B
Desktop File
18 lines
494 B
Desktop File
[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"
|
|
ExecStartPre = /bin/sh -c "echo 0 > /sys/class/graphics/fbcon/cursor_blink"
|
|
ExecStart = /usr/bin/kodi-standalone -l /run/lirc/lircd
|
|
ExecStopPost = /bin/sh -c "echo 1 > /sys/class/graphics/fbcon/cursor_blink"
|
|
ExecStopPost = /bin/sh -c "dmesg -E"
|
|
Restart = on-failure
|
|
|
|
[Install]
|
|
WantedBy = multi-user.target
|