Tweak unit to restart on any failure, 15s timeout

This commit is contained in:
Joshua Boniface 2018-12-28 10:27:27 -05:00
parent 1b4a21871a
commit 34f226d83a
1 changed files with 2 additions and 2 deletions

View File

@ -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