mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 13:24:25 -07:00
reload nginx instead restart
This commit is contained in:
parent
80b76fc6ed
commit
e6b01fbd7e
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ if [ -z "$PROXY_SYSTEM" ] || [ "$PROXY_SYSTEM" = 'remote' ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Restart system
|
# Restart system
|
||||||
service $PROXY_SYSTEM restart >/dev/null 2>&1
|
service $PROXY_SYSTEM reload >/dev/null 2>&1
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
send_email_report
|
send_email_report
|
||||||
check_result $E_RESTART "$PROXY_SYSTEM restart failed"
|
check_result $E_RESTART "$PROXY_SYSTEM restart failed"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue