mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Sleep 25 before restart nginx
This commit is contained in:
parent
98b05f1ba2
commit
f1bbd788aa
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ if [ -f "/usr/local/vesta/web/inc/nginx_proxy" ]; then
|
|||
# background restart
|
||||
if [ "$1" = 'background' ]; then
|
||||
# Restart system
|
||||
sleep 20
|
||||
sleep 25
|
||||
service $PROXY_SYSTEM restart >/dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
send_email_report
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue