From f6e17e85768302d7d3b27a4c9118b4e63624be33 Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 17 Jan 2024 12:48:15 -0500 Subject: [PATCH] Update sonarr-install.sh Change user:group from sonarr:media to root:root --- install/sonarr-install.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/install/sonarr-install.sh b/install/sonarr-install.sh index 820b74f1..7f98864b 100644 --- a/install/sonarr-install.sh +++ b/install/sonarr-install.sh @@ -21,10 +21,7 @@ $STD apt-get install -y sqlite3 msg_ok "Installed Dependencies" msg_info "Installing Sonarr v4" -$STD groupadd media -$STD adduser --system --no-create-home --ingroup media sonarr mkdir -p /var/lib/sonarr/ -chown -R sonarr:media /var/lib/sonarr/ chmod 775 /var/lib/sonarr/ wget -q -O SonarrV4.tar.gz 'https://services.sonarr.tv/v1/download/main/latest?version=4&os=linux&arch=x64' tar -xzf SonarrV4.tar.gz @@ -39,9 +36,6 @@ cat </etc/systemd/system/sonarr.service Description=Sonarr Daemon After=syslog.target network.target [Service] -User=sonarr -Group=media -UMask=0002 Type=simple ExecStart=/opt/Sonarr/Sonarr -nobrowser -data=/var/lib/sonarr/ TimeoutStopSec=20