Skip to content

Commit 052da3a

Browse files
author
Serghey Rodin
committed
compact syntax for proxy restart
1 parent b5b9069 commit 052da3a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/v-delete-letsencrypt-domain

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ update_object_value 'web' 'DOMAIN' "$domain" '$LETSENCRYPT' 'no'
5454
$BIN/v-restart-web $restart
5555
check_result $? "Web restart failed" >/dev/null
5656

57+
# Restarting proxy
58+
if [ ! -z "$PROXY_SYSTEM" ]; then
59+
$BIN/v-restart-web $restart >/dev/null
60+
check_result $? "Proxy restart failed" >/dev/null
61+
fi
62+
5763
# Logging
5864
log_event "$OK" "$ARGUMENTS"
5965

0 commit comments

Comments
 (0)