mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -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
|
@ -67,10 +67,8 @@ cat $WEBTPL/$WEB_BACKEND/$template.tpl |\
|
|||
#----------------------------------------------------------#
|
||||
|
||||
# Restart backend server
|
||||
if [ "$restart" != 'no' ]; then
|
||||
$BIN/v-restart-web-backend
|
||||
check_result $? "Web backend restart failed" >/dev/null
|
||||
fi
|
||||
$BIN/v-restart-web-backend $restart
|
||||
check_result $? "Web backend restart failed" >/dev/null
|
||||
|
||||
# Logging
|
||||
log_history "added $WEB_BACKEND backend configuration for $domain"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue