Plane runs on .50 rather than .48 these days

This commit is contained in:
Bernhard "bero" Rosenkränzer (Boggins) 2025-01-15 05:49:12 +01:00
parent 3e8bc2cf93
commit b8c31a541e
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ convert_plane() {
docker exec postgresql psql -U plane -c "UPDATE instances SET domain='$DOMAIN_NEW' WHERE domain='$DOMAIN'"
docker exec postgresql psql -U plane -c "UPDATE users SET email=REPLACE(email, '@$DOMAIN', '@$DOMAIN_NEW') WHERE email LIKE '%@$DOMAIN'"
docker exec postgresql psql -U plane -c "UPDATE profiles SET company_name='$DOMAIN_NEW' WHERE company_name='$DOMAIN'"
start_service_convert "plane" "nc -z 192.168.0.48 80 &>/dev/null"
start_service_convert "plane" "nc -z 192.168.0.50 80 &>/dev/null"
echo done
}
convert_pdnsmysql() {

View File

@ -536,7 +536,7 @@ EOF
}
start_plane() {
# Start service with command to make sure it's up before proceeding
# start_service "plane" "nc -z 192.168.0.48 80 &> /dev/null" "7"
# start_service "plane" "nc -z 192.168.0.50 80 &> /dev/null" "7"
/federated/bin/start plane
echo -ne "done."
}