From 7fd3a956f63e6a9c05118cf64f8dd891d42aac87 Mon Sep 17 00:00:00 2001 From: Abzie Date: Thu, 2 Feb 2017 18:00:52 +0000 Subject: [PATCH] Added systemd ExecStop for rare occasion radarr fails to restart after update --- Autostart-on-Linux.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Autostart-on-Linux.md b/Autostart-on-Linux.md index b5c1a8f..0f27e53 100644 --- a/Autostart-on-Linux.md +++ b/Autostart-on-Linux.md @@ -250,6 +250,9 @@ systemctl start radarr.service systemctl status radarr.service ``` +If Radarr does not restart after an update, add the following to your systemd service unit: + +```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``` ### FreeBSD/FreeNAS ### https://raw.github.com/tofagerl/freedrone/master/nzbdrone \ No newline at end of file