15 lines
350 B
SYSTEMD
15 lines
350 B
SYSTEMD
|
[Unit]
|
||
|
Description = Jellyfin Media Server
|
||
|
After = network.target
|
||
|
|
||
|
[Service]
|
||
|
Type = simple
|
||
|
EnvironmentFile = /etc/default/jellyfin
|
||
|
User = jellyfin
|
||
|
ExecStart = /usr/bin/jellyfin ${JELLYFIN_RESTART_OPT} ${JELLYFIN_FFMPEG_OPT} ${JELLYFIN_SERVICE_OPT} ${JELLYFIN_NOWEBAPP_OPT}
|
||
|
Restart = on-failure
|
||
|
TimeoutSec = 15
|
||
|
|
||
|
[Install]
|
||
|
WantedBy = multi-user.target
|