summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-16 21:57:00 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-02-16 21:57:00 -0200
commit5880a633233f72808f563d9ee6181357c395f5ae (patch)
tree413caf563ae5bde598e24f927828b36fa61b623a /files
parent10df092f30ea46e5df492ffcbc0732d745a16e8f (diff)
downloadpuppet-mail-5880a633233f72808f563d9ee6181357c395f5ae.tar.gz
puppet-mail-5880a633233f72808f563d9ee6181357c395f5ae.tar.bz2
Managing sympa logrotate config
Diffstat (limited to 'files')
-rw-r--r--files/sympa/logrotate16
1 files changed, 16 insertions, 0 deletions
diff --git a/files/sympa/logrotate b/files/sympa/logrotate
new file mode 100644
index 0000000..a42a147
--- /dev/null
+++ b/files/sympa/logrotate
@@ -0,0 +1,16 @@
+# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496074
+# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477127
+/var/log/sympa.log {
+ rotate 7
+ size=100k
+ compress
+ delaycompress
+ missingok
+ postrotate
+ /etc/init.d/sympa reload >/dev/null
+ #/etc/init.d/sysklogd reload >/dev/null
+ #/etc/init.d/rsyslog reload >/dev/null
+ #/etc/init.d/dsyslog reload >/dev/null
+ /etc/init.d/syslog-ng reload >/dev/null
+ endscript
+}