aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rspamd.logrotate
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-21 16:37:46 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-11-21 16:37:46 +0300
commitefe1a722f2804d5a5d7905ed80158e97f7fe01f6 (patch)
tree724976f76cf3d3cb36c1ceb41d57051cdcf59300 /debian/rspamd.logrotate
parent38f028f8090e7c1f8456928b76719c9e52962fa9 (diff)
downloadrspamd-efe1a722f2804d5a5d7905ed80158e97f7fe01f6.tar.gz
rspamd-efe1a722f2804d5a5d7905ed80158e97f7fe01f6.zip
* Add debian package information.
Diffstat (limited to 'debian/rspamd.logrotate')
-rw-r--r--debian/rspamd.logrotate12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/rspamd.logrotate b/debian/rspamd.logrotate
new file mode 100644
index 000000000..2d0175677
--- /dev/null
+++ b/debian/rspamd.logrotate
@@ -0,0 +1,12 @@
+/var/log/rspamd/rspamd.log{
+ daily
+ rotate 4
+ delaycompress
+ compress
+ notifempty
+ missingok
+ postrotate
+ reload rspamd >/dev/null 2>&1 || true
+ endscript
+}
+