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