Auto création du répertoire de conf manuelle de Apache

(le but est d'inciter l'admin à ranger ses morceaux "perso" a un seul endroit)
This commit is contained in:
Alan Garcia 2012-10-15 14:45:05 +00:00
parent cedce69efe
commit 38e16fe624
1 changed files with 3 additions and 0 deletions

View File

@ -121,6 +121,9 @@ done
if [ ! -z "$(cat "$RELOAD_WEB")" ] ; then
echo " apache " >> "$RELOAD_ZONES"
# Just to encourage user to use THIS directory and not another one
test -d "$VHOST_MANUALCONF" || mkdir -p "$VHOST_MANUALCONF"
# Concat the apaches files
tempo=$(mktemp "$VHOST_FILE.XXXXX")