[Groonga-commit] droonga/droonga-http-server at 7e34f17 [master] Detect running state correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Sep 25 19:19:57 JST 2014


YUKI Hiroshi	2014-09-25 19:19:57 +0900 (Thu, 25 Sep 2014)

  New Revision: 7e34f17af4550516a9c070298c5566e22133d920
  https://github.com/droonga/droonga-http-server/commit/7e34f17af4550516a9c070298c5566e22133d920

  Message:
    Detect running state correctly

  Modified files:
    bin/droonga-http-server-configure

  Modified: bin/droonga-http-server-configure (+1 -1)
===================================================================
--- bin/droonga-http-server-configure    2014-09-25 17:53:46 +0900 (449de3d)
+++ bin/droonga-http-server-configure    2014-09-25 19:19:57 +0900 (1affb8e)
@@ -101,7 +101,7 @@ function checkRunningStatus() {
       //TODO: we should support systemd also...
       exec('service droonga-http-server status',
            function(error, stdin, stdout) {
-             running = !error && stdin.indexOf('running') > -1;
+             running = !error && stdin.indexOf('is running') > -1;
              resolve(running);
            });
     }
-------------- next part --------------
HTML����������������������������...
Download 



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