|
@@ -49,6 +49,10 @@ check_hestia_demo_mode
|
|
|
prepare_web_backend
|
|
prepare_web_backend
|
|
|
get_domain_values 'web'
|
|
get_domain_values 'web'
|
|
|
|
|
|
|
|
|
|
+if [[ -n "$BACKEND" && "$BACKEND" != "$template" ]];then
|
|
|
|
|
+ check_result "$E_EXISTS" "Pool already exists"
|
|
|
|
|
+fi
|
|
|
|
|
+
|
|
|
# Allocating backend port
|
|
# Allocating backend port
|
|
|
backend_port=9000
|
|
backend_port=9000
|
|
|
ports=$(grep -v '^;' $pool/* 2>/dev/null |grep listen |grep -o :[0-9].*)
|
|
ports=$(grep -v '^;' $pool/* 2>/dev/null |grep listen |grep -o :[0-9].*)
|