Explorar o código

Add SuccessExitStatus for exit 143

Fixes #3182
Joshua M. Boniface %!s(int64=3) %!d(string=hai) anos
pai
achega
1d7a524d82
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      debian/jellyfin.service
  2. 1 0
      fedora/jellyfin.service

+ 1 - 0
debian/jellyfin.service

@@ -11,6 +11,7 @@ WorkingDirectory = /var/lib/jellyfin
 ExecStart = /usr/bin/jellyfin ${JELLYFIN_WEB_OPT} ${JELLYFIN_RESTART_OPT} ${JELLYFIN_FFMPEG_OPT} ${JELLYFIN_SERVICE_OPT} ${JELLYFIN_NOWEBAPP_OPT} ${JELLYFIN_ADDITIONAL_OPTS}
 Restart = on-failure
 TimeoutSec = 15
+SuccessExitStatus=0 143
 
 NoNewPrivileges=true
 SystemCallArchitectures=native

+ 1 - 0
fedora/jellyfin.service

@@ -11,6 +11,7 @@ WorkingDirectory = /var/lib/jellyfin
 ExecStart = /usr/bin/jellyfin ${JELLYFIN_WEB_OPT} ${JELLYFIN_RESTART_OPT} ${JELLYFIN_FFMPEG_OPT} ${JELLYFIN_SERVICE_OPT} ${JELLYFIN_NOWEBAPP_OPT} ${JELLYFIN_ADDITIONAL_OPTS}
 Restart = on-failure
 TimeoutSec = 15
+SuccessExitStatus=0 143
 
 NoNewPrivileges=true
 SystemCallArchitectures=native