mirror of
https://github.com/Sonarr/Sonarr
synced 2025-01-03 05:35:29 +00:00
Updated upstart & systemd scripts since auto-update now works with restart
parent
57809f963e
commit
09a510aabd
1 changed files with 3 additions and 2 deletions
|
@ -20,8 +20,7 @@ setgid nogroup
|
|||
start on runlevel [2345]
|
||||
stop on runlevel [016]
|
||||
|
||||
#respawn will break the built-in updating, if you wish to enable respawn you need to make sure updates are disabled within the UI
|
||||
#respawn
|
||||
respawn
|
||||
|
||||
exec mono --debug $DIR/NzbDrone.exe
|
||||
|
||||
|
@ -220,6 +219,8 @@ Group=<service group>
|
|||
Type=simple
|
||||
ExecStart=<path to mono> <path to NzbDrone.exe> -nobrowser
|
||||
TimeoutStopSec=20
|
||||
KillMode=process
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue