diff --git a/media-tv/tvheadend/files/tvheadend.service b/media-tv/tvheadend/files/tvheadend.service index cd5c5e7f9..2c9a50c5c 100644 --- a/media-tv/tvheadend/files/tvheadend.service +++ b/media-tv/tvheadend/files/tvheadend.service @@ -9,7 +9,7 @@ Group=video RuntimeDirectory=tvheadend PIDFile=/run/tvheadend/tvheadend.pid EnvironmentFile=/etc/conf.d/tvheadend -ExecStart=/usr/bin/tvheadend -p /run/tvheadend/tvheadend.pid -c ${TVHEADEND_CONFIG} ${TVHEADEND_OPTIONS} +ExecStart=/bin/sh -c '/usr/bin/tvheadend -p /run/tvheadend/tvheadend.pid -c ${TVHEADEND_CONFIG} ${TVHEADEND_OPTIONS}' TimeoutStartSec=1m TimeoutStopSec=20s Restart=always