Browse Source

Restart nginx after 20 sec

dpeca 8 years ago
parent
commit
40947919e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/v-restart-proxy

+ 1 - 1
bin/v-restart-proxy

@@ -52,7 +52,7 @@ fi
 # background restart
 # background restart
 if [ "$1" = 'background' ]; then
 if [ "$1" = 'background' ]; then
     # Restart system
     # Restart system
-    sleep 2
+    sleep 20
     service $PROXY_SYSTEM restart >/dev/null 2>&1
     service $PROXY_SYSTEM restart >/dev/null 2>&1
     if [ $? -ne 0 ]; then
     if [ $? -ne 0 ]; then
         send_email_report
         send_email_report