[Groonga-commit] droonga/droonga-http-server at 23cb7ec [master] Use "daemon" option defined in the configuration file correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Aug 29 18:46:23 JST 2014


YUKI Hiroshi	2014-08-29 18:46:23 +0900 (Fri, 29 Aug 2014)

  New Revision: 23cb7ec72d889dbe807df68805d922329b0b0fb9
  https://github.com/droonga/droonga-http-server/commit/23cb7ec72d889dbe807df68805d922329b0b0fb9

  Message:
    Use "daemon" option defined in the configuration file correctly

  Modified files:
    bin/droonga-http-server
    lib/default-configs.js

  Modified: bin/droonga-http-server (+1 -0)
===================================================================
--- bin/droonga-http-server    2014-08-29 18:09:13 +0900 (38da3bb)
+++ bin/droonga-http-server    2014-08-29 18:46:23 +0900 (b22c11c)
@@ -23,6 +23,7 @@ var baseDir = defaultConfigs.baseDir;
 options.port             = defaultConfigs.port;
 options.accessLogFile    = defaultConfigs.access_log_file;
 options.systemLogFile    = defaultConfigs.system_log_file;
+options.daemon           = defaultConfigs.daemon;
 options.pidFile          = defaultConfigs.pid_file
 options.cacheSize        = defaultConfigs.cache_size;
 options.enableTrustProxy = defaultConfigs.enable_trust_proxy;

  Modified: lib/default-configs.js (+3 -2)
===================================================================
--- lib/default-configs.js    2014-08-29 18:09:13 +0900 (533f14f)
+++ lib/default-configs.js    2014-08-29 18:46:23 +0900 (6737901)
@@ -53,8 +53,9 @@ if (configs.daemon) {
   define(configs, 'access_log_file', 'droonga-http-server.access.log');
   define(configs, 'system_log_file', 'droonga-http-server.system.log');
 } else {
-  define(configs, 'access_log_file',    '-');
-  define(configs, 'system_log_file',    '-');
+  define(configs, 'daemon',          false);
+  define(configs, 'access_log_file', '-');
+  define(configs, 'system_log_file', '-');
 }
 
 define(configs, 'engine.host',            engineConfigs.host);
-------------- next part --------------
HTML����������������������������...
다운로드 



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