mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 12:36:23 -07:00
compact syntax for proxy restart
This commit is contained in:
parent
b5b9069ece
commit
052da3ae9d
1 changed files with 6 additions and 0 deletions
|
@ -54,6 +54,12 @@ update_object_value 'web' 'DOMAIN' "$domain" '$LETSENCRYPT' 'no'
|
|||
$BIN/v-restart-web $restart
|
||||
check_result $? "Web restart failed" >/dev/null
|
||||
|
||||
# Restarting proxy
|
||||
if [ ! -z "$PROXY_SYSTEM" ]; then
|
||||
$BIN/v-restart-web $restart >/dev/null
|
||||
check_result $? "Proxy restart failed" >/dev/null
|
||||
fi
|
||||
|
||||
# Logging
|
||||
log_event "$OK" "$ARGUMENTS"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue