jellyfin/debian/jellyfin.service

15 lines
345 B
SYSTEMD
Raw Normal View History

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
ExecStart = /usr/bin/jellyfin -programdata ${JELLYFIN_DATA} -restartpath ${JELLYFIN_RESTART_SCRIPT} ${JELLYFIN_ADD_OPTS}
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