[Groonga-commit] groonga/groonga [master] rpm: fix about port number

Back to archive index

HAYASHI Kentaro null+****@clear*****
Mon Sep 24 13:02:37 JST 2012


HAYASHI Kentaro	2012-09-24 13:02:37 +0900 (Mon, 24 Sep 2012)

  New Revision: c7f8acd43bbd048671e59a95fdbed14a2f5f1d4a
  https://github.com/groonga/groonga/commit/c7f8acd43bbd048671e59a95fdbed14a2f5f1d4a

  Log:
    rpm: fix about port number

  Modified files:
    data/logrotate.d/redhat/groonga-server-gqtp
    data/logrotate.d/redhat/groonga-server-http

  Modified: data/logrotate.d/redhat/groonga-server-gqtp (+2 -1)
===================================================================
--- data/logrotate.d/redhat/groonga-server-gqtp    2012-09-24 11:09:20 +0900 (e28207e)
+++ data/logrotate.d/redhat/groonga-server-gqtp    2012-09-24 13:02:37 +0900 (5fa5602)
@@ -10,7 +10,8 @@
     postrotate
         . /etc/sysconfig/groonga-server-gqtp
         if x"$ENABLE" = x"yes"; then
-            /usr/bin/groonga -c 127.0.0.1 log_reopen > /dev/null
+            /usr/bin/groonga --port "${PORT:-10043}" -c 127.0.0.1 \
+	        log_reopen > /dev/null
         fi
     endscript
 }

  Modified: data/logrotate.d/redhat/groonga-server-http (+1 -1)
===================================================================
--- data/logrotate.d/redhat/groonga-server-http    2012-09-24 11:09:20 +0900 (96fb51e)
+++ data/logrotate.d/redhat/groonga-server-http    2012-09-24 13:02:37 +0900 (9ed5645)
@@ -11,7 +11,7 @@
         . /etc/sysconfig/groonga-server-http
         if x"$ENABLE" = x"yes"; then
             /usr/bin/curl --silent --output /dev/null \
-                "http://127.0.0.1:10041/d/log_reopen"
+                "http://127.0.0.1:${PORT:-10041}/d/log_reopen"
         fi
     endscript
 }
-------------- next part --------------
HTML����������������������������...
다운로드 



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