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 \
11
11
# ##
12
12
# ## Build arguments
13
13
# ##
14
- ARG VHOST_GEN_GIT_REF=0.15
14
+ ARG VHOST_GEN_GIT_REF=0.16
15
15
ARG CERT_GEN_GIT_REF=0.7
16
16
17
17
ENV BUILD_DEPS \
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ VHOST_TPL="${4}"
11
11
CA_KEY=" ${5} "
12
12
CA_CRT=" ${6} "
13
13
GENERATE_SSL=" ${7} "
14
- VERBOSE=" ${8:- } "
14
+ GEN_MODE=" ${8} "
15
+ VERBOSE=" ${9:- } "
15
16
16
17
if [ " ${GENERATE_SSL} " = " 1" ]; then
17
18
if [ ! -d " /etc/httpd/cert/mass" ]; then
@@ -29,7 +30,7 @@ if [ "${GENERATE_SSL}" = "1" ]; then
29
30
fi
30
31
fi
31
32
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} "
33
34
if [ -n " ${VERBOSE} " ]; then
34
35
echo " \$ ${cmd} "
35
36
fi
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ if [ "${MASS_VHOST_ENABLE}" -eq "1" ]; then
237
237
fi
238
238
239
239
# 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} '"
241
241
watcherd_del=" rm /etc/httpd/vhost.d/%%n.conf"
242
242
watcherd_tri=" ${HTTPD_RELOAD} "
243
243
You can’t perform that action at this time.
0 commit comments