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

@ -72,9 +72,9 @@ update_user_value "$user" '$SUSPENDED' 'no'
decrease_user_value 'admin' '$SUSPENDED_USERS'
if [ "$restart" != 'no' ]; then
$BIN/v-restart-web "$EVENT"
$BIN/v-restart-dns "$EVENT"
$BIN/v-restart-cron "$EVENT"
$BIN/v-restart-web
$BIN/v-restart-dns
$BIN/v-restart-cron
fi
# Logging