File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ LABEL \
1111# ##
1212# ## Build arguments
1313# ##
14- ARG VHOST_GEN_GIT_REF=0.15
14+ ARG VHOST_GEN_GIT_REF=0.16
1515ARG CERT_GEN_GIT_REF=0.7
1616
1717ENV BUILD_DEPS \
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ VHOST_TPL="${4}"
1111CA_KEY=" ${5} "
1212CA_CRT=" ${6} "
1313GENERATE_SSL=" ${7} "
14- VERBOSE=" ${8:- } "
14+ GEN_MODE=" ${8} "
15+ VERBOSE=" ${9:- } "
1516
1617if [ " ${GENERATE_SSL} " = " 1" ]; then
1718 if [ ! -d " /etc/httpd/cert/mass" ]; then
@@ -29,7 +30,7 @@ if [ "${GENERATE_SSL}" = "1" ]; then
2930 fi
3031fi
3132
32- cmd=" vhost_gen.py -p \" ${VHOST_PATH} \" -n \" ${VHOST_NAME} \" -c /etc/vhost-gen/mass.yml -o \" ${VHOST_TPL} \" -s ${VERBOSE} -m both "
33+ cmd=" vhost_gen.py -p \" ${VHOST_PATH} \" -n \" ${VHOST_NAME} \" -c /etc/vhost-gen/mass.yml -o \" ${VHOST_TPL} \" -s ${VERBOSE} -m ${GEN_MODE} "
3334if [ -n " ${VERBOSE} " ]; then
3435 echo " \$ ${cmd} "
3536fi
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ if [ "${MASS_VHOST_ENABLE}" -eq "1" ]; then
237237 fi
238238
239239 # Create watcherd sub commands
240- watcherd_add=" create-vhost.sh '%%p' '%%n' '${MASS_VHOST_TLD} ' '%%p/${MASS_VHOST_TPL} /' '${CA_KEY} ' '${CA_CRT} ' '1' '${verbose} '"
240+ watcherd_add=" create-vhost.sh '%%p' '%%n' '${MASS_VHOST_TLD} ' '%%p/${MASS_VHOST_TPL} /' '${CA_KEY} ' '${CA_CRT} ' '1' '${MASS_VHOST_SSL_TYPE} ' ' ${ verbose} '"
241241 watcherd_del=" rm /etc/httpd/vhost.d/%%n.conf"
242242 watcherd_tri=" ${HTTPD_RELOAD} "
243243
You can’t perform that action at this time.
0 commit comments