xbmc: xbmc.service: tweaks

- 90s time wait to stop is a bit high. give it max 10s then KILL it
- let systemd kill all the processes in the cgroup. like our binary addons
This commit is contained in:
Stefan Saraev 2013-10-08 19:55:56 +03:00
parent 260069cca7
commit 43b15e92d3

View File

@ -10,7 +10,7 @@ Environment=HOME=/storage
EnvironmentFile=-/run/openelec/xbmc.conf
EnvironmentFile=-/run/openelec/debug/xbmc.conf
ExecStart=/bin/sh -c ". /etc/profile; exec /usr/lib/xbmc/xbmc.bin --standalone -fs $XBMC_ARGS $XBMC_DEBUG"
KillMode=process
TimeoutStopSec=10
Restart=always
### TODO: remove this
RestartSec=1