Missig variable DOMAIN in scheduler script.
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
# Initial parameters
|
# Initial parameters
|
||||||
DATE=`date +%F-%H-%M-%S`
|
DATE=`date +%F-%H-%M-%S`
|
||||||
|
|
||||||
DOMAIN=$1
|
DOMAIN=$1
|
||||||
|
|
||||||
# Set env variables
|
# Set env variables
|
||||||
|
@@ -41,7 +41,7 @@ do
|
|||||||
|
|
||||||
if [[ "${PROXY_TYPE}" == "haproxy" ]]; then
|
if [[ "${PROXY_TYPE}" == "haproxy" ]]; then
|
||||||
echo "haproxy config created, changed";
|
echo "haproxy config created, changed";
|
||||||
/scripts/config_haproxy_create.sh;
|
/scripts/config_haproxy_create.sh $DOMAIN;
|
||||||
|
|
||||||
if [ -f "$PROXY_CONFIG_DIR/new_config" ] ; then
|
if [ -f "$PROXY_CONFIG_DIR/new_config" ] ; then
|
||||||
/scripts/check_proxy_state.sh "$DOMAIN";
|
/scripts/check_proxy_state.sh "$DOMAIN";
|
||||||
|
Reference in New Issue
Block a user