15 lines
526 B
Desktop File
15 lines
526 B
Desktop File
[Unit]
|
|
Description = Jellyfin Media Server
|
|
After = network.target
|
|
|
|
[Service]
|
|
Type = simple
|
|
EnvironmentFile = /etc/default/jellyfin
|
|
User = jellyfin
|
|
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}
|
|
Restart = on-failure
|
|
TimeoutSec = 15
|
|
|
|
[Install]
|
|
WantedBy = multi-user.target
|