16 lines
454 B
SYSTEMD
16 lines
454 B
SYSTEMD
|
[Unit]
|
||
|
After=network.target
|
||
|
Description=Jellyfin is a free software media system that puts you in control of managing and streaming your media.
|
||
|
|
||
|
[Service]
|
||
|
EnvironmentFile=/etc/sysconfig/jellyfin
|
||
|
WorkingDirectory=/var/lib/jellyfin
|
||
|
ExecStart=/usr/bin/jellyfin ${JELLYFIN_RESTART_OPT} ${JELLYFIN_FFMPEG_OPT} ${JELLYFIN_SERVICE_OPT} ${JELLYFIN_NOWEBAPP_OPT}
|
||
|
TimeoutSec=15
|
||
|
Restart=on-failure
|
||
|
User=jellyfin
|
||
|
Group=jellyfin
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|