浏览代码

Tweak unit to restart on any failure, 15s timeout

Joshua Boniface 6 年之前
父节点
当前提交
34f226d83a
共有 1 个文件被更改,包括 2 次插入2 次删除
  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