[Groonga-commit] groonga/groonga at 7776699 [master] groonga-httpd-restart: remove needless wait

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Aug 22 17:49:04 JST 2013


Kouhei Sutou	2013-08-22 17:49:04 +0900 (Thu, 22 Aug 2013)

  New Revision: 7776699b5a06a8c31213ce501d513ee21ffec443
  https://github.com/groonga/groonga/commit/7776699b5a06a8c31213ce501d513ee21ffec443

  Message:
    groonga-httpd-restart: remove needless wait
    
    Because the PID file is already created.

  Modified files:
    data/scripts/groonga-httpd-restart

  Modified: data/scripts/groonga-httpd-restart (+0 -4)
===================================================================
--- data/scripts/groonga-httpd-restart    2013-08-22 17:47:29 +0900 (f119252)
+++ data/scripts/groonga-httpd-restart    2013-08-22 17:49:04 +0900 (ba92bf3)
@@ -73,10 +73,6 @@ fi
 
 switch_worker ${OLD_PID}
 
-if ! wait_until [ -f "${PID_FILE}" ]; then
-    echo "Failed to switch worker process."
-    exit 2
-fi
 NEW_PID=$(cat ${PID_FILE})
 
 OLD_WORKER_PROCESSES=$(pgrep -P ${OLD_PID} | grep -v ${NEW_PID})
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index