Comment out plex ports on installation #62
6
docs.org
6
docs.org
@ -380,8 +380,8 @@ sed -i -e "s|<your_PUID>|$puid|g" "$env_file" \
|
||||
|
||||
if [ "$media_service" == "plex" ]; then
|
||||
sed -i -e "s|#network_mode: host # plex|network_mode: host # plex|g" "$filename" \
|
||||
-e "s|ports: # plex|#ports: # plex|g" $filename \
|
||||
-e "s|- 8096:8096 # plex|#- 8096:8096 # plex|g" $filename
|
||||
-e "s|ports: # plex|#ports: # plex|g" "$filename" \
|
||||
-e "s|- 8096:8096 # plex|#- 8096:8096 # plex|g" "$filename" \
|
||||
fi
|
||||
|
||||
sed -i -e "s|<install_directory>|$install_directory|g" "$env_file"
|
||||
@ -392,7 +392,7 @@ if [ "$setup_vpn" == "y" ]; then
|
||||
-e "s|<vpn_password>|$vpn_password|g" "$env_file" \
|
||||
-e "s|<vpn_enabled>|$setup_vpn|g" "$env_file" \
|
||||
-e "s|#network_mode: \"service:gluetun\"|network_mode: \"service:gluetun\"|g" "$filename" \
|
||||
-e "s|ports: # qbittorrent|#port: # qbittorrent|g" "$filename" \
|
||||
-e "s|ports: # qbittorrent|#ports: # qbittorrent|g" "$filename" \
|
||||
-e "s|- 8080:8080 # qbittorrent|#- 8080:8080 # qbittorrent|g" "$filename" \
|
||||
-e "s|#- 8080:8080/tcp # gluetun|- 8080:8080/tcp # gluetun|g" "$filename"
|
||||
fi
|
||||
|
@ -223,8 +223,8 @@ sed -i -e "s|<your_PUID>|$puid|g" "$env_file" \
|
||||
|
||||
if [ "$media_service" == "plex" ]; then
|
||||
sed -i -e "s|#network_mode: host # plex|network_mode: host # plex|g" "$filename" \
|
||||
-e "s|ports: # plex|#ports: # plex|g" $filename \
|
||||
-e "s|- 8096:8096 # plex|#- 8096:8096 # plex|g" $filename
|
||||
-e "s|ports: # plex|#ports: # plex|g" "$filename" \
|
||||
-e "s|- 8096:8096 # plex|#- 8096:8096 # plex|g" "$filename" \
|
||||
fi
|
||||
|
||||
sed -i -e "s|<install_directory>|$install_directory|g" "$env_file"
|
||||
@ -235,7 +235,7 @@ if [ "$setup_vpn" == "y" ]; then
|
||||
-e "s|<vpn_password>|$vpn_password|g" "$env_file" \
|
||||
-e "s|<vpn_enabled>|$setup_vpn|g" "$env_file" \
|
||||
-e "s|#network_mode: \"service:gluetun\"|network_mode: \"service:gluetun\"|g" "$filename" \
|
||||
-e "s|ports: # qbittorrent|#port: # qbittorrent|g" "$filename" \
|
||||
-e "s|ports: # qbittorrent|#ports: # qbittorrent|g" "$filename" \
|
||||
-e "s|- 8080:8080 # qbittorrent|#- 8080:8080 # qbittorrent|g" "$filename" \
|
||||
-e "s|#- 8080:8080/tcp # gluetun|- 8080:8080/tcp # gluetun|g" "$filename"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user