Fixed config error in sabnzbd

This commit is contained in:
Roger Gonzalez 2024-10-12 12:15:16 -03:00
parent 7f4e1191e7
commit 9be5066817
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6
2 changed files with 2 additions and 0 deletions

View File

@ -406,6 +406,7 @@ if [ "$setup_vpn" == "y" ]; then
-e "s|vpn_password|$vpn_password|g" "$env_file" \
-e "s|#network_mode: \"service:gluetun\"|network_mode: \"service:gluetun\"|g" "$filename" \
-e "s|ports: # qbittorrent|#ports: # qbittorrent|g" "$filename" \
-e "s|ports: # sabnzbd|#ports: # sabnzbd|g" "$filename" \
-e "s|- 8081:8081 # qbittorrent|#- 8081:8081 # qbittorrent|g" "$filename" \
-e "s|- 8080:8080 # sabnzbd|#- 8080:8080 # sabnzbd|g" "$filename" \
-e "s|#- 8080:8080/tcp # gluetun|- 8080:8080/tcp # gluetun|g" "$filename"

View File

@ -249,6 +249,7 @@ if [ "$setup_vpn" == "y" ]; then
-e "s|vpn_password|$vpn_password|g" "$env_file" \
-e "s|#network_mode: \"service:gluetun\"|network_mode: \"service:gluetun\"|g" "$filename" \
-e "s|ports: # qbittorrent|#ports: # qbittorrent|g" "$filename" \
-e "s|ports: # sabnzbd|#ports: # sabnzbd|g" "$filename" \
-e "s|- 8081:8081 # qbittorrent|#- 8081:8081 # qbittorrent|g" "$filename" \
-e "s|- 8080:8080 # sabnzbd|#- 8080:8080 # sabnzbd|g" "$filename" \
-e "s|#- 8080:8080/tcp # gluetun|- 8080:8080/tcp # gluetun|g" "$filename"