diff options
author | Deposite Pirate | 2018-09-16 23:29:24 +0200 |
---|---|---|
committer | Deposite Pirate | 2018-09-16 23:29:24 +0200 |
commit | 569e598d38adb1918d127ee31af1cd332b072dcf (patch) | |
tree | 23a7204866591100db57f3acac53cd410ea8d3e4 /rspamd/rspamd.logrotate |
Diffstat (limited to 'rspamd/rspamd.logrotate')
-rw-r--r-- | rspamd/rspamd.logrotate | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rspamd/rspamd.logrotate b/rspamd/rspamd.logrotate new file mode 100644 index 0000000..3a155f8 --- /dev/null +++ b/rspamd/rspamd.logrotate @@ -0,0 +1,11 @@ +/var/log/rspamd/*log { + daily + rotate 10 + missingok + notifempty + compress + sharedscripts + postrotate + [ ! -f /run/rspamd.pid ] || kill -USR1 `cat /run/rspamd.pid` + endscript +} |