aboutsummaryrefslogtreecommitdiffstats
path: root/centos/sources/rspamd.logrotate
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-05-26 21:06:42 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-05-26 21:06:42 +0100
commit0e7dbaf43073f7e50186e05943604a6c6190ac3e (patch)
tree6f9dc572bbb7ed617a2374a35573d15be4825ceb /centos/sources/rspamd.logrotate
parent685d079dae7093facc731a455c8b9b66e491561e (diff)
downloadrspamd-0e7dbaf43073f7e50186e05943604a6c6190ac3e.tar.gz
rspamd-0e7dbaf43073f7e50186e05943604a6c6190ac3e.zip
Fix spec and centos sources.
--HG-- rename : centos/sources/rspam.logrotate => centos/sources/rspamd.logrotate
Diffstat (limited to 'centos/sources/rspamd.logrotate')
-rw-r--r--centos/sources/rspamd.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/centos/sources/rspamd.logrotate b/centos/sources/rspamd.logrotate
new file mode 100644
index 000000000..0b93591d4
--- /dev/null
+++ b/centos/sources/rspamd.logrotate
@@ -0,0 +1,11 @@
+/var/log/rspamd/*log {
+ daily
+ rotate 10
+ missingok
+ notifempty
+ compress
+ sharedscripts
+ postrotate
+ [ ! -f /var/run/rspamd.pid ] || kill -USR1 `cat /var/run/rspamd.pid`
+ endscript
+}