1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-06-24 06:39:36 +02:00

added V3 systemd section for removing mono exec command

Logvin 2020-10-30 23:28:37 -07:00
parent 94899a275f
commit 02d8a5493a

@ -1,4 +1,4 @@
## Systemd
## Systemd on Linux - Radarr V0.2
Most modern Linux distributions have switched to systemd, which involves a simple service file which gets enabled and started.
@ -57,6 +57,15 @@ If Radarr does not restart after an update, add the following to your systemd se
ExecStop=-/usr/bin/mono /tmp/radarr_update/Radarr.Update.exe "ps aux | grep Radarr | grep -v grep | awk '{ print $2 }'" /tmp/radarr_update /opt/Radarr/Radarr.exe
## Systemd on Linux - Radarr V3
With V3 moving away from mono, you will need to modify the systemd service file for radarr. Specifically, you will need to change `ExecStart` to the Radarr executable location. Assuming you placed Radarr's executable in the same location as v2, the executable would be `/opt/Radarr/Radarr`. Remember that linux is case sensitive.
Example:
```
ExecStart=/opt/Radarr/Radarr -nobrowser -data=/home/radarr/.config/Radarr/
```
If you are upgrading from V2 and are modifying your existing radarr.service file, ensure you run the command `sudo systemctl daemon-reload` after you save your changes to your radarr.service file.
## Upstart
Using Upstart allows for more advanced features, such as start/stop and automatic restart if it crashes.