[Groonga-commit] groonga/groonga [master] httpd deb: add missing logrotate settings for groonga-httpd

Back to archive index

HAYASHI Kentaro null+****@clear*****
Mon Sep 3 15:10:41 JST 2012


HAYASHI Kentaro	2012-09-03 15:10:41 +0900 (Mon, 03 Sep 2012)

  New Revision: 6238ff9015255729ee02fd683b00ffb66399d80b
  https://github.com/groonga/groonga/commit/6238ff9015255729ee02fd683b00ffb66399d80b

  Log:
    httpd deb: add missing logrotate settings for groonga-httpd

  Added files:
    packages/debian/groonga-httpd.logrotate

  Added: packages/debian/groonga-httpd.logrotate (+17 -0) 100644
===================================================================
--- /dev/null
+++ packages/debian/groonga-httpd.logrotate    2012-09-03 15:10:41 +0900 (e1ed853)
@@ -0,0 +1,17 @@
+/var/log/groonga/httpd/*.log {
+    daily
+    missingok
+    rotate 30
+    compress
+    delaycompress
+    notifempty
+    create 640 groonga groonga
+    sharedscripts
+    postrotate
+        . /etc/default/groonga-httpd
+        if x"$ENABLE" = x"yes"; then
+            /usr/bin/curl --silent --output /dev/null \
+                "http://127.0.0.1:10041/d/log_reopen"
+        fi
+    endscript
+}
-------------- next part --------------
HTML����������������������������...
Descargar 



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