From 34f226d83a7dd9a36a29f361b16606117fce2735 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Fri, 28 Dec 2018 10:27:27 -0500 Subject: [PATCH] Tweak unit to restart on any failure, 15s timeout --- debian/jellyfin.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/jellyfin.service b/debian/jellyfin.service index d5a999cf5..4c3739909 100644 --- a/debian/jellyfin.service +++ b/debian/jellyfin.service @@ -7,8 +7,8 @@ Type = simple EnvironmentFile = /etc/default/jellyfin User = jellyfin ExecStart = /usr/bin/jellyfin -programdata ${JELLYFIN_DATA} -restartpath ${JELLYFIN_RESTART_SCRIPT} ${JELLYFIN_ADD_OPTS} -Restart = on-abort -TimeoutSec = 20 +Restart = on-failure +TimeoutSec = 15 [Install] WantedBy = multi-user.target