16 lines
452 B
SYSTEMD
16 lines
452 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 -programdata ${JELLYFIN_DATA} ${JELLYFIN_RESTART_OPT} ${JELLYFIN_ADD_OPTS} ${JELLYFIN_FFMPEG}
|
||
|
TimeoutSec=15
|
||
|
Restart=on-failure
|
||
|
User=jellyfin
|
||
|
Group=jellyfin
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|