aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2022-03-15 20:27:12 -0400
committerJoshua M. Boniface <joshua@boniface.me>2022-03-15 20:27:38 -0400
commit1d7a524d82deab5f331d85fce30e26518845a4f3 (patch)
treeacfac20ac5ec0de3768ea635de180aab4b3d6e3f
parentcecfdeeec3effa61de2a83b5656059c08536d94e (diff)
Add SuccessExitStatus for exit 143
Fixes #3182
-rw-r--r--debian/jellyfin.service1
-rw-r--r--fedora/jellyfin.service1
2 files changed, 2 insertions, 0 deletions
diff --git a/debian/jellyfin.service b/debian/jellyfin.service
index 12ae18a21..064e10537 100644
--- a/debian/jellyfin.service
+++ b/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
diff --git a/fedora/jellyfin.service b/fedora/jellyfin.service
index f2bb2d5f2..1193ddb5b 100644
--- a/fedora/jellyfin.service
+++ b/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