From 1d7a524d82deab5f331d85fce30e26518845a4f3 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 15 Mar 2022 20:27:12 -0400 Subject: [PATCH] Add SuccessExitStatus for exit 143 Fixes #3182 --- debian/jellyfin.service | 1 + fedora/jellyfin.service | 1 + 2 files changed, 2 insertions(+) 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