mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-28 09:33:13 +02:00
Update sonarr-install.sh
change User/Group to root
This commit is contained in:
parent
e95a7bf9fb
commit
1c0f43fb91
@ -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…
Reference in New Issue
Block a user