skip yet another step in slave mode

This commit is contained in:
Antoine Beaupré 2013-04-02 20:43:38 +00:00
parent 105df9229a
commit 5242542e35
1 changed files with 5 additions and 5 deletions

View File

@ -466,6 +466,11 @@ if [ -x /usr/sbin/locale-gen ] ; then
fi
fi
# remaining steps are only for the master
if [ "$slave" = "1" ]; then
exit 0
fi
#######################################################################
# populate alternc database with the mailname used by postfix to send mail for each vhost
#
@ -483,11 +488,6 @@ tar -zcf "$INSTALLED_CONFIG_TAR" -C / $CONFIG_FILES
# Last touches
#
# remaining steps are only for the master
if [ "$slave" = "1" ]; then
exit 0
fi
find $ALTERNC_HTML -maxdepth 1 -type d -exec setfacl -b -k -m d:g:alterncpanel:rw- -m g:alterncpanel:rw- {} \;
#creating log file