This commit is contained in:
Slaviša Arežina
2025-12-11 12:30:27 +01:00
committed by GitHub
parent f5b0c03362
commit 2b1f62e74f
2 changed files with 4 additions and 1 deletions

View File

@ -24,7 +24,6 @@ curl -fsSL "https://services.sonarr.tv/v1/download/main/latest?version=4&os=linu
tar -xzf SonarrV4.tar.gz
mv Sonarr /opt
rm -rf SonarrV4.tar.gz
msg_ok "Installed Sonarr v4"
msg_info "Creating Service"
@ -32,12 +31,14 @@ cat <<EOF >/etc/systemd/system/sonarr.service
[Unit]
Description=Sonarr Daemon
After=syslog.target network.target
[Service]
Type=simple
ExecStart=/opt/Sonarr/Sonarr -nobrowser -data=/var/lib/sonarr/
TimeoutStopSec=20
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF