Browse Source

v-restart-proxy sleep 1

dpeca 8 years ago
parent
commit
b329be0352
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
 if [ "$1" = 'background' ]; then
     # Restart system
-    sleep 300
+    sleep 1
     rm /tmp/restart-nginx
     service $PROXY_SYSTEM restart >/dev/null 2>&1
     if [ $? -ne 0 ]; then