YUKI Hiroshi
null+****@clear*****
Fri Sep 26 10:29:16 JST 2014
YUKI Hiroshi 2014-09-26 10:29:16 +0900 (Fri, 26 Sep 2014) New Revision: 68edc5244edaaa14a9347e04ab36a81db6b4e810 https://github.com/droonga/droonga-http-server/commit/68edc5244edaaa14a9347e04ab36a81db6b4e810 Message: Detect running state based on the exit status Modified files: bin/droonga-http-server-configure Modified: bin/droonga-http-server-configure (+1 -1) =================================================================== --- bin/droonga-http-server-configure 2014-09-25 19:32:35 +0900 (3fdaeb8) +++ bin/droonga-http-server-configure 2014-09-26 10:29:16 +0900 (2b226b7) @@ -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('is running') > -1; + running = !error; resolve(running); }); } -------------- next part -------------- HTML����������������������������...Download