Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Commit

Permalink
Update sonarr-install.sh
Browse files Browse the repository at this point in the history
Change user:group from sonarr:media to root:root
  • Loading branch information
tteck authored Jan 17, 2024
1 parent 4b723d5 commit f6e17e8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions install/sonarr-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f6e17e8

Please sign in to comment.