2018-12-09 16:45:08 -07:00
|
|
|
[Unit]
|
2018-12-12 17:14:20 -07:00
|
|
|
Description = Jellyfin Media Server
|
|
|
|
After = network.target
|
2018-12-09 16:45:08 -07:00
|
|
|
|
|
|
|
[Service]
|
2018-12-12 17:14:20 -07:00
|
|
|
Type = simple
|
|
|
|
EnvironmentFile = /etc/default/jellyfin
|
|
|
|
User = jellyfin
|
2019-02-03 18:15:23 -07: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}
|
2018-12-28 08:27:27 -07:00
|
|
|
Restart = on-failure
|
|
|
|
TimeoutSec = 15
|
2018-12-09 16:45:08 -07:00
|
|
|
|
|
|
|
[Install]
|
2018-12-12 17:14:20 -07:00
|
|
|
WantedBy = multi-user.target
|