diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-05-26 21:06:42 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-05-26 21:06:42 +0100 |
commit | 0e7dbaf43073f7e50186e05943604a6c6190ac3e (patch) | |
tree | 6f9dc572bbb7ed617a2374a35573d15be4825ceb /centos/sources/rspamd.logrotate | |
parent | 685d079dae7093facc731a455c8b9b66e491561e (diff) | |
download | rspamd-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.logrotate | 11 |
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 +} |