diff options
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 +} |