2020-03-23 20:28:49 +00:00
|
|
|
[Unit]
|
2021-12-12 22:01:35 +00:00
|
|
|
Description = Jellyfin Media Server
|
|
|
|
After = network-online.target
|
2020-03-23 20:28:49 +00:00
|
|
|
|
|
|
|
[Service]
|
2021-12-12 22:01:35 +00:00
|
|
|
Type = simple
|
|
|
|
EnvironmentFile = /etc/sysconfig/jellyfin
|
|
|
|
User = jellyfin
|
|
|
|
Group = jellyfin
|
|
|
|
WorkingDirectory = /var/lib/jellyfin
|
2023-10-03 07:33:59 +00:00
|
|
|
ExecStart = /usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS
|
2021-12-12 22:01:35 +00:00
|
|
|
Restart = on-failure
|
|
|
|
TimeoutSec = 15
|
2022-03-16 00:27:12 +00:00
|
|
|
SuccessExitStatus=0 143
|
2021-12-12 22:01:35 +00:00
|
|
|
|
2020-03-23 20:28:49 +00:00
|
|
|
[Install]
|
2021-12-12 22:01:35 +00:00
|
|
|
WantedBy = multi-user.target
|