mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
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
|