skip yet another step in slave mode
This commit is contained in:
parent
105df9229a
commit
5242542e35
|
@ -466,6 +466,11 @@ if [ -x /usr/sbin/locale-gen ] ; then
|
||||||
fi
|
fi
|
||||||
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
|
# 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
|
# 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- {} \;
|
find $ALTERNC_HTML -maxdepth 1 -type d -exec setfacl -b -k -m d:g:alterncpanel:rw- -m g:alterncpanel:rw- {} \;
|
||||||
|
|
||||||
#creating log file
|
#creating log file
|
||||||
|
|
Loading…
Reference in New Issue