mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
18 lines
468 B
Desktop File
18 lines
468 B
Desktop File
[Unit]
|
|
Description=Kodi standalone
|
|
After=remote-fs.target
|
|
|
|
[Service]
|
|
User=kodi
|
|
Group=kodi
|
|
ExecStartPre=+/bin/sh -c 'echo 0 > /sys/class/vtconsole/vtcon1/bind'
|
|
ExecStartPre=+/usr/bin/fbset -g 4 2 4 2 32
|
|
ExecStart=/usr/bin/kodi-standalone
|
|
ExecStopPost=+/usr/bin/fbset -g $RESTOREMODE
|
|
ExecStopPost=+/bin/sh -c 'echo 1 > /sys/class/vtconsole/vtcon1/bind'
|
|
Restart=on-failure
|
|
SendSIGHUP=yes
|
|
EnvironmentFile=/etc/conf.d/kodi-framebuffer
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|