[Groonga-commit] droonga/droonga-engine at a254ef7 [master] Detect "dead" case as "installed as a service"

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Sep 24 17:34:19 JST 2014


YUKI Hiroshi	2014-09-24 17:34:19 +0900 (Wed, 24 Sep 2014)

  New Revision: a254ef7aa07d4e03772f1d459fd7bc5dc316c257
  https://github.com/droonga/droonga-engine/commit/a254ef7aa07d4e03772f1d459fd7bc5dc316c257

  Message:
    Detect "dead" case as "installed as a service"

  Modified files:
    lib/droonga/service_installation.rb

  Modified: lib/droonga/service_installation.rb (+2 -1)
===================================================================
--- lib/droonga/service_installation.rb    2014-09-24 17:18:31 +0900 (4a33dc0)
+++ lib/droonga/service_installation.rb    2014-09-24 17:34:19 +0900 (4b94200)
@@ -82,7 +82,8 @@ module Droonga
     
       result = `env SYSTEMCTL_SKIP_REDIRECT=yes service droonga-engine status`
       result.include?("running") or \
-        result.include?("droonga-engine is stopped")
+        result.include?("droonga-engine is stopped") or \
+        result.include?("droonga-engine dead")
     end
 
     def ensure_correct_file_permission(file)
-------------- next part --------------
HTML����������������������������...
Download 



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