implemented scheduled restart

This commit is contained in:
Serghey Rodin 2013-06-01 14:25:44 +03:00
commit 10f7097c48
46 changed files with 172 additions and 63 deletions

View file

@ -97,7 +97,7 @@ for cluster_str in $(cat $VESTA/conf/dns-cluster.conf); do
$send_cmd v-insert-dns-domain $DNS_USER "$str" $HOSTNAME 'no'
# Rebuild dns zone
$send_cmd v-rebuild-dns-domain $DNS_USER $domain no
$send_cmd v-rebuild-dns-domain $DNS_USER $domain 'scheduled'
if [ $? -ne 0 ]; then
echo "Error: $TYPE connection to $HOST failed (rebuild)"
log_event "$E_CONNECT $EVENT"