From 43b15e92d35c489d4e419e00a0e279ab40e3a216 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Tue, 8 Oct 2013 19:55:56 +0300 Subject: [PATCH] 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 --- packages/mediacenter/xbmc/system.d/xbmc.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mediacenter/xbmc/system.d/xbmc.service b/packages/mediacenter/xbmc/system.d/xbmc.service index 143fcd15be..9c3d66d553 100644 --- a/packages/mediacenter/xbmc/system.d/xbmc.service +++ b/packages/mediacenter/xbmc/system.d/xbmc.service @@ -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