Skip to content

The Free Software Media System - Server Backend & API

Tweak unit to restart on any failure, 15s timeout

Joshua Boniface34f226d83a7d
diff --git a/debian/jellyfin.service b/debian/jellyfin.service
index d5a999cf53..4c37399092 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