Finalizing initial variables

This commit is contained in:
2021-06-13 20:50:08 +00:00
parent 7efbed41f4
commit fb3395ef92

View File

@@ -4,17 +4,17 @@ service_exec="docker run --rm -v /etc/user/config/services/:/services/:ro -v /va
# Initial parameters # Initial parameters
DATE=`date +%F-%H-%M-%S` DATE=`date +%F-%H-%M-%S`
TIMEOUT=2 TIMEOUT=$TIMEOUT
RESTART=2 RESTART=$RESTART
RESTART_COUNTER=0 RESTART_COUNTER=0
# Set env variables # Set env variables
CERT_DIR=/keys CERT_DIR=$CERT_DIR
PROXY_SERVICE_FILE=/etc/user/config/services/public-proxy.json PROXY_SERVICE_FILE=$PROXY_SERVICE_FILE
PROXY_CONFIG_DIR=/proxy_config PROXY_CONFIG_DIR=$PROXY_CONFIG_DIR
ROLE="backend-proxy" ROLE=$ROLE
SERVICE_NAME="public-proxy" SERVICE_NAME=$SERVICE_NAME
do_proxy_restart() { do_proxy_restart() {