In case of some directories not exist create it

This commit is contained in:
2022-07-27 08:46:22 +00:00
parent 75235785fe
commit 33e90d2ce7

View File

@@ -10,6 +10,12 @@ DOMAIN_DIR=$DOMAIN_DIR
CERT_DIR=$CERT_DIR
PROXY_CONFIG_DIR=$PROXY_CONFIG_DIR
# If not exits CERT_DIR, create it
mkdir -p $CERT_DIR
# If not exits DOMAIN_DIR, create it
mkdir -p $DOMAIN_DIR
# Triggers by certificate or domain config changes
unset IFS