[Groonga-commit] droonga/droonga-engine at 33c2f4d [master] Start publisher as a daemon

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Jul 17 15:58:26 JST 2014


YUKI Hiroshi	2014-07-17 15:58:26 +0900 (Thu, 17 Jul 2014)

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

  Message:
    Start publisher as a daemon

  Modified files:
    bin/droonga-engine-data-publisher

  Modified: bin/droonga-engine-data-publisher (+2 -1)
===================================================================
--- bin/droonga-engine-data-publisher    2014-07-16 19:45:31 +0900 (8e6e577)
+++ bin/droonga-engine-data-publisher    2014-07-17 15:58:26 +0900 (303d3fc)
@@ -59,7 +59,8 @@ File.open(published_dir + ".pid", "w") do |file|
 end
 
 server = HTTPServer.new(:Port => options.port,
-                        :DocumentRoot => published_dir)
+                        :DocumentRoot => published_dir,
+                        :ServerType => WEBrick::Daemon)
 
 trap("INT", "TERM") do
   server.shutdown
-------------- next part --------------
HTML����������������������������...
Download 



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