Skip to content

The Free Software Media System - Server Backend & API

Add SuccessExitStatus for exit 143

Joshua M. Boniface1d7a524d82de
diff --git a/debian/jellyfin.service b/debian/jellyfin.service
index 12ae18a219..064e105373 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 f2bb2d5f20..1193ddb5be 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