trigger firewall update on ip functions

This commit is contained in:
Serghey Rodin 2015-04-17 16:11:27 +03:00
commit 42b8ac31dd
3 changed files with 37 additions and 10 deletions

View file

@ -65,8 +65,19 @@ if [ ! -z "$vst_ip_list" ] && [ "$vst_ip_num" -eq '1' ]; then
$BIN/v-rebuild-web-domains $user no
done
fi
# Restarting web server
$BIN/v-restart-web
$BIN/v-restart-proxy
# Restarting proxy server
if [ ! -z "$PROXY_SYSTEM" ]; then
$BIN/v-restart-proxy
fi
# Restarting firewall
if [ ! -z "$FIREWALL_SYSTEM" ];
$BIN/v-update-firewall
fi
if [ ! -z "$DNS_SYSTEM" ]; then
# Rebuild dns domains
@ -98,7 +109,6 @@ for ip in $ip_list; do
done
#----------------------------------------------------------#
# Vesta #
#----------------------------------------------------------#