Missig variable DOMAIN in scheduler script.

This commit is contained in:
2021-09-29 10:10:43 +00:00
parent 3282ac59ff
commit c14bd0e22e
2 changed files with 2 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
# Initial parameters
DATE=`date +%F-%H-%M-%S`
DOMAIN=$1
# Set env variables

View File

@@ -41,7 +41,7 @@ do
if [[ "${PROXY_TYPE}" == "haproxy" ]]; then
echo "haproxy config created, changed";
/scripts/config_haproxy_create.sh;
/scripts/config_haproxy_create.sh $DOMAIN;
if [ -f "$PROXY_CONFIG_DIR/new_config" ] ; then
/scripts/check_proxy_state.sh "$DOMAIN";