[Groonga-commit] droonga/droonga-engine at 625d76d [master] Stop server by SIGTERM

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Jul 16 18:48:49 JST 2014


YUKI Hiroshi	2014-07-16 18:48:49 +0900 (Wed, 16 Jul 2014)

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

  Message:
    Stop server by SIGTERM

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

  Modified: bin/droonga-engine-data-publisher (+1 -1)
===================================================================
--- bin/droonga-engine-data-publisher    2014-07-15 23:20:54 +0900 (4b4c814)
+++ bin/droonga-engine-data-publisher    2014-07-16 18:48:49 +0900 (8e6e577)
@@ -61,7 +61,7 @@ end
 server = HTTPServer.new(:Port => options.port,
                         :DocumentRoot => published_dir)
 
-trap("INT") do
+trap("INT", "TERM") do
   server.shutdown
   FileUtils.rm_rf(published_dir.to_s)
 end
-------------- next part --------------
HTML����������������������������...
下載 



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