[Groonga-commit] droonga/droonga-engine at 34208c4 [master] Don't show needless output

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Sep 18 13:56:09 JST 2014


YUKI Hiroshi	2014-09-18 13:56:09 +0900 (Thu, 18 Sep 2014)

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

  Message:
    Don't show needless output

  Modified files:
    bin/droonga-engine-configure

  Modified: bin/droonga-engine-configure (+7 -1)
===================================================================
--- bin/droonga-engine-configure    2014-09-18 13:52:41 +0900 (bb5990c)
+++ bin/droonga-engine-configure    2014-09-18 13:56:09 +0900 (91e5867)
@@ -43,7 +43,13 @@ parser.parse!(ARGV)
 
 
 def installed_as_service?
-  system("service", "droonga-engine", "status")
+  system("service", "droonga-engine", "status",
+         :out => "/dev/null",
+         :err => "/dev/null")
+end
+
+def service_user_name
+  "droonga-engine"
 end
 
 def running?(configuration)
-------------- next part --------------
HTML����������������������������...
Download 



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