2014-12-27 00:43:47 +00:00
|
|
|
[Unit]
|
2019-01-29 00:28:50 +00:00
|
|
|
Description=Kodi standalone
|
|
|
|
After=remote-fs.target
|
2014-12-27 00:43:47 +00:00
|
|
|
|
|
|
|
[Service]
|
2019-01-29 00:28:50 +00:00
|
|
|
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
|
2014-12-27 00:43:47 +00:00
|
|
|
|
|
|
|
[Install]
|
2020-07-30 12:21:32 +00:00
|
|
|
Alias=display-manager.service
|