[Groonga-commit] droonga/droonga-http-server at ebf0555 [master] Set special default values for service install case

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Sep 18 19:49:16 JST 2014


YUKI Hiroshi	2014-09-18 19:49:16 +0900 (Thu, 18 Sep 2014)

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

  Message:
    Set special default values for service install case

  Modified files:
    bin/droonga-http-server-configure

  Modified: bin/droonga-http-server-configure (+6 -1)
===================================================================
--- bin/droonga-http-server-configure    2014-09-18 19:42:46 +0900 (d08ce8d)
+++ bin/droonga-http-server-configure    2014-09-18 19:49:16 +0900 (ef7b909)
@@ -199,7 +199,12 @@ function tryResetStringConfigs(callback) {
     cacheSize:             'maximum size of the response cache',
     environment:           'environment'
   };
-  if (!installedAsService) {
+  if (installedAsService) {
+    options.accessLogFile = 'droonga-http-server.access.log';
+    options.systemLogFile = 'droonga-http-server.system.log';
+    options.environment = 'production';
+  }
+  else {
     if (options.quiet)
       configValues.pidFile = defaultConfigs.pid_file;
     else if (options.pidFileGiven)
-------------- next part --------------
HTML����������������������������...
Download 



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