Browse Source

增加睡眠一秒

stanley-king 8 years ago
parent
commit
d1bcc2f3bc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      restart.sh

+ 1 - 0
restart.sh

@@ -1,5 +1,6 @@
 #! /bin/sh
 
 kill -9 $(pidof php)
+sleep 1s
 php ./centra_srv.php
 spawn-fcgi -a 127.0.0.1 -p 9100 -F 10 -f "php fcgi_run.php"