mirror of https://github.com/tteck/Proxmox.git
Update sonarr-install.sh
Change user:group from sonarr:media to root:root
This commit is contained in:
parent
4b723d5a3f
commit
f6e17e8576
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue