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
|
2019-03-12 22:09:18 +00:00
|
|
|
ExecStart = /usr/bin/jellyfin ${JELLYFIN_RESTART_OPT} ${JELLYFIN_FFMPEG_OPT} ${JELLYFIN_SERVICE_OPT} ${JELLYFIN_NOWEBAPP_OPT}
|
2018-12-28 15:27:27 +00:00
|
|
|
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
|