2019-01-05 10:14:24 +00:00
|
|
|
[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
|
2019-02-04 01:15:23 +00:00
|
|
|
ExecStart=/usr/bin/jellyfin --datadir=${JELLYFIN_DATA_DIRECTORY} --configdir=${JELLYFIN_CONFIG_DIRECTORY} --logdir=${JELLYFIN_LOG_DIRECTORY} --cachedir=${JELLYFIN_CACHE_DIRECTORY} ${JELLYFIN_RESTART_OPT} ${JELLYFIN_FFMPEG_OPT} ${JELLYFIN_FFPROBE_OPT} ${JELLYFIN_SERVICE_OPT} ${JELLYFIN_NOWEBAPP_OPT}
|
2019-01-05 10:14:24 +00:00
|
|
|
TimeoutSec=15
|
|
|
|
Restart=on-failure
|
|
|
|
User=jellyfin
|
|
|
|
Group=jellyfin
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|