[Groonga-commit] groonga/groonga at 9d5f789 [master] groonga-httpd-restart: add missing wait for PID file creation

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Aug 22 18:18:20 JST 2013


Kouhei Sutou	2013-08-22 18:18:20 +0900 (Thu, 22 Aug 2013)

  New Revision: 9d5f789f720846b5367f4c1f7b1da54f62433b04
  https://github.com/groonga/groonga/commit/9d5f789f720846b5367f4c1f7b1da54f62433b04

  Message:
    groonga-httpd-restart: add missing wait for PID file creation

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

  Modified: data/scripts/groonga-httpd-restart (+5 -0)
===================================================================
--- data/scripts/groonga-httpd-restart    2013-08-22 18:17:11 +0900 (4cb32f1)
+++ data/scripts/groonga-httpd-restart    2013-08-22 18:18:20 +0900 (ff19228)
@@ -64,6 +64,11 @@ OLD_PID=$(cat ${PID_FILE})
 start_master ${OLD_PID}
 
 if ! wait_until [ -f ${OLD_PID_FILE} ]; then
+    echo "Failed to create old PID file: <${PID_FILE}>"
+    exit 1
+fi
+
+if ! wait_until [ -f ${PID_FILE} ]; then
     echo "Failed to start new groonga-httpd master."
     exit 1
 fi
-------------- next part --------------
HTML����������������������������...
Télécharger 



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