From 02d8a5493ac997f9eae8ef4e64cf38d4388b1689 Mon Sep 17 00:00:00 2001 From: Logvin Date: Fri, 30 Oct 2020 23:28:37 -0700 Subject: [PATCH] added V3 systemd section for removing mono exec command --- Autostart-on-Linux.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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.