mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
Code refactoring: domain_idn + new restart routine
This commit is contained in:
parent
b98abaf572
commit
e5950d516d
104 changed files with 605 additions and 588 deletions
|
@ -72,10 +72,8 @@ decrease_user_value "$user" '$U_DNS_DOMAINS'
|
|||
decrease_user_value "$user" '$U_DNS_RECORDS' "$records"
|
||||
|
||||
# Restarting named
|
||||
if [ "$restart" != 'no' ]; then
|
||||
$BIN/v-restart-dns $restart
|
||||
check_result $? "Bind restart failed" >/dev/null
|
||||
fi
|
||||
$BIN/v-restart-dns $restart
|
||||
check_result $? "Bind restart failed" >/dev/null
|
||||
|
||||
# Logging
|
||||
log_history "deleted dns domain $domain"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue