[Groonga-commit] droonga/droonga-http-server at 40ce216 [master] Detect status of the service process correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Sep 25 17:51:49 JST 2014


YUKI Hiroshi	2014-09-25 17:51:49 +0900 (Thu, 25 Sep 2014)

  New Revision: 40ce216ba120f58e30ea9b96892b41c2db468f8a
  https://github.com/droonga/droonga-http-server/commit/40ce216ba120f58e30ea9b96892b41c2db468f8a

  Message:
    Detect status of the service process correctly

  Modified files:
    install/centos/droonga-http-server

  Modified: install/centos/droonga-http-server (+3 -1)
===================================================================
--- install/centos/droonga-http-server    2014-09-25 17:40:37 +0900 (8c322c6)
+++ install/centos/droonga-http-server    2014-09-25 17:51:49 +0900 (7163925)
@@ -46,7 +46,9 @@ case "$1" in
     stop
     ;;
   status)
-    status $NAME
+    # Note: "-p" option is required to detect the status correctly!
+    #       (it fails without the too long $NAME - maybe.)
+    status -p $PIDFILE $NAME
     ;;
   restart)
     stop
-------------- next part --------------
HTML����������������������������...
Download 



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