implemented scheduled restart

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

View file

@ -97,7 +97,7 @@ update_object_value 'web' 'DOMAIN' "$domain" '$PROXY_EXT' "$extentions"
# Restart web server
if [ "$restart" != 'no' ]; then
$BIN/v-restart-proxy "$EVENT"
$BIN/v-restart-proxy
fi
log_history "enabled proxy support for $domain"