Update sonarr-install.sh

Change user:group from sonarr:media to root:root
pull/2363/head
tteckster 2024-01-17 12:48:15 -05:00 committed by GitHub
parent 4b723d5a3f
commit f6e17e8576
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 6 deletions

View File

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