Update sonarr-install.sh

change User/Group to root
pull/1940/head
tteckster 1 year ago committed by GitHub
parent e95a7bf9fb
commit 1c0f43fb91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save

Powered by BW's shoe-string budget.