summaryrefslogtreecommitdiff
path: root/files/logrotate.d/supybot
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-01-27 14:27:02 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-01-27 14:27:02 -0200
commitf30c1d1e77db52ff987e278bf17a32f5c83a6dd7 (patch)
treef9515bbdcfbd71141dc3dd24f5e85cecf080e6dd /files/logrotate.d/supybot
parent0ce1bfb2ebfe1b01dc01afecc97d6bbcdce51209 (diff)
downloadpuppet-supybot-f30c1d1e77db52ff987e278bf17a32f5c83a6dd7.tar.gz
puppet-supybot-f30c1d1e77db52ff987e278bf17a32f5c83a6dd7.tar.bz2
Rotate messages.log
Diffstat (limited to 'files/logrotate.d/supybot')
-rw-r--r--files/logrotate.d/supybot10
1 files changed, 10 insertions, 0 deletions
diff --git a/files/logrotate.d/supybot b/files/logrotate.d/supybot
new file mode 100644
index 0000000..4c205f4
--- /dev/null
+++ b/files/logrotate.d/supybot
@@ -0,0 +1,10 @@
+/var/lib/supybot/logs/messages.log {
+ missingok
+ notifempty
+ weekly
+ rotate 3
+ compress
+ compresscmd /bin/bzip2
+ compressext .bz2
+ sharedscripts
+}