jellyfin-server/deployment/debian-package-x64/pkg-src/jellyfin.service

15 lines
475 B
SYSTEMD
Raw Normal View History

2018-12-09 23:45:08 +00:00
[Unit]
2018-12-13 00:14:20 +00:00
Description = Jellyfin Media Server
After = network.target
2018-12-09 23:45:08 +00:00
[Service]
2018-12-13 00:14:20 +00:00
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_OPTS} ${JELLYFIN_ADD_OPTS}
Restart = on-failure
TimeoutSec = 15
2018-12-09 23:45:08 +00:00
[Install]
2018-12-13 00:14:20 +00:00
WantedBy = multi-user.target