mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -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
|
@ -65,19 +65,13 @@ done
|
|||
#----------------------------------------------------------#
|
||||
|
||||
# Restarting web server
|
||||
if [ "$restart" != 'no' ]; then
|
||||
$BIN/v-restart-web
|
||||
check_result $? "restart" >/dev/null 2>&1
|
||||
$BIN/v-restart-web $restart
|
||||
check_result $? "restart" >/dev/null 2>&1
|
||||
|
||||
if [ ! -z "$PROXY_SYSTTEM" ]; then
|
||||
$BIN/v-restart-proxy
|
||||
check_result $? "restart" >/dev/null 2>&1
|
||||
fi
|
||||
$BIN/v-restart-proxy $restart
|
||||
check_result $? "restart" >/dev/null 2>&1
|
||||
|
||||
if [ ! -z "$WEB_BACKEND" ]; then
|
||||
$BIN/v-restart-proxy
|
||||
check_result $? "restart" >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
$BIN/v-restart-proxy $restart
|
||||
check_result $? "restart" >/dev/null 2>&1
|
||||
|
||||
exit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue