aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2021-12-12 17:01:35 -0500
committerJoshua M. Boniface <joshua@boniface.me>2021-12-12 17:01:35 -0500
commitfcf5b9b46e7d120904fdafb3df726b1a1309660d (patch)
tree38bbfcd849fcf36465cbb0668e6436feba891135 /debian
parent9a2b88cb1fe19a7b71f5713e4d4685673a6cccdd (diff)
Unify and standardize unit files between deb/rpm
Ensures that the RPM service unit has all the tweaks from the Deb service unit, and some in the other direction too.
Diffstat (limited to 'debian')
-rw-r--r--debian/jellyfin.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/jellyfin.service b/debian/jellyfin.service
index ce0a3cf3db..a999b76bec 100644
--- a/debian/jellyfin.service
+++ b/debian/jellyfin.service
@@ -6,6 +6,8 @@ After = network-online.target
Type = simple
EnvironmentFile = /etc/default/jellyfin
User = jellyfin
+Group = jellyfin
+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
@@ -44,6 +46,5 @@ SystemCallFilter=~@setuid
SystemCallFilter=~@swap
SystemCallErrorNumber=EPERM
-
[Install]
WantedBy = multi-user.target