Major rejigger of init configurations

This commit is contained in:
Joshua Boniface 2018-12-12 19:14:20 -05:00
parent ad4b73d1cb
commit 18ef4a4684
7 changed files with 39 additions and 66 deletions

View file

@ -1,12 +1,14 @@
[Unit]
Description=Jellyfin Media Server
After=network.target
Description = Jellyfin Media Server
After = network.target
[Service]
User=jellyfin
ExecStart=/usr/bin/dotnet /usr/lib/jellyfin/bin/EmbyServer.dll
Restart=on-abort
TimeoutSec=20
Type = simple
EnvironmentFile = /etc/default/jellyfin
User = jellyfin
ExecStart = /usr/bin/dotnet ${JELLYFIN_EXE} -programdata ${JELLYFIN_DATA} -restartpath ${JELLYFIN_RESTART_SCRIPT} ${JELLYFIN_ADD_OPTS}
Restart = on-abort
TimeoutSec = 20
[Install]
WantedBy=multi-user.target
WantedBy = multi-user.target