diff options
Diffstat (limited to 'sonarr.service')
-rw-r--r-- | sonarr.service | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sonarr.service b/sonarr.service index a4a66df47bca..1d8a71465414 100644 --- a/sonarr.service +++ b/sonarr.service @@ -1,15 +1,17 @@ +# Be sure to use `systemctl edit sonarr` to modify this service with an override.conf because +# direct changes will be overwritten by package updates. + [Unit] Description=Sonarr Service -After=network.target +Wants=network-online.target +After=network-online.target [Service] +Type=simple User=sonarr Group=sonarr -ExecStart=/usr/bin/sonarr -nobrowser -data=/var/lib/sonarr -Type=simple -TimeoutStopSec=20 -KillMode=process -Restart=always +ExecStart=/usr/bin/mono --debug /usr/lib/sonarr/bin/Sonarr.exe -nobrowser -data=/var/lib/sonarr +Restart=on-failure [Install] WantedBy=multi-user.target |