Skip to content

Commit e6b01fb

Browse files
authored
reload nginx instead restart
1 parent 80b76fc commit e6b01fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-restart-proxy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if [ -z "$PROXY_SYSTEM" ] || [ "$PROXY_SYSTEM" = 'remote' ]; then
5050
fi
5151

5252
# Restart system
53-
service $PROXY_SYSTEM restart >/dev/null 2>&1
53+
service $PROXY_SYSTEM reload >/dev/null 2>&1
5454
if [ $? -ne 0 ]; then
5555
send_email_report
5656
check_result $E_RESTART "$PROXY_SYSTEM restart failed"

0 commit comments

Comments
 (0)