Explorar o código

Tweak unit to restart on any failure, 15s timeout

Joshua Boniface %!s(int64=6) %!d(string=hai) anos
pai
achega
34f226d83a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      debian/jellyfin.service

+ 2 - 2
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