skip last steps of alternc.install on slaves
otherwise they explode in pain (for example by creating an admin user, changing permissions on the NFS or trying to access the master database with the wrong database schema in mind, all fun stuff)
This commit is contained in:
parent
58f5203f87
commit
a8fe50ccff
|
@ -409,6 +409,11 @@ tar -zcf "$INSTALLED_CONFIG_TAR" -C / $CONFIG_FILES
|
|||
# Last touches
|
||||
#
|
||||
|
||||
# remaining steps are only for the master
|
||||
if [ "$slave" = "1" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
chown alterncpanel:alterncpanel "$ALTERNC_LOC/html/"*
|
||||
setfacl -b -k -m d:g:alterncpanel:rw- -m g:alterncpanel:rw- "$ALTERNC_LOC/html/"*
|
||||
|
||||
|
|
Loading…
Reference in New Issue