diff --git a/Autostart-on-Linux.md b/Autostart-on-Linux.md index 62e202c..b571dca 100644 --- a/Autostart-on-Linux.md +++ b/Autostart-on-Linux.md @@ -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.