From 569e598d38adb1918d127ee31af1cd332b072dcf Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 23:29:24 +0200 Subject: Initial commit. --- rspamd/rspamd.logrotate | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 rspamd/rspamd.logrotate (limited to 'rspamd/rspamd.logrotate') 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 +} -- cgit v1.2.3-70-g09d2