mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-31 12:58:28 +01:00
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.
This commit is contained in:
3
debian/jellyfin.service
vendored
3
debian/jellyfin.service
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user