From 1c0f43fb91782fc8ccab57811b6fd55bde17bb11 Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 17 Oct 2023 18:55:25 -0400 Subject: [PATCH] Update sonarr-install.sh change User/Group to root --- install/sonarr-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/sonarr-install.sh b/install/sonarr-install.sh index 78f96594..c183454a 100644 --- a/install/sonarr-install.sh +++ b/install/sonarr-install.sh @@ -34,6 +34,7 @@ if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then cp -r Sonarr/* /usr/lib/sonarr/bin rm -rf Sonarr Sonarr.develop.4.0.0.697.linux-x64.tar.gz sed -i 's|ExecStart=/usr/bin/mono --debug /usr/lib/sonarr/bin/Sonarr.exe -nobrowser -data=/var/lib/sonarr|ExecStart=/usr/lib/sonarr/bin/Sonarr -nobrowser -data=/var/lib/sonarr|' /lib/systemd/system/sonarr.service + sed -i 's/\(User=\|Group=\).*/\1root/' /lib/systemd/system/sonarr.service systemctl daemon-reload systemctl start sonarr.service fi