diff options
Diffstat (limited to 'debian/rspamd.logrotate')
-rw-r--r-- | debian/rspamd.logrotate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rspamd.logrotate b/debian/rspamd.logrotate index dca9cfadf..f486a4738 100644 --- a/debian/rspamd.logrotate +++ b/debian/rspamd.logrotate @@ -6,7 +6,7 @@ notifempty missingok postrotate - service rspamd reopenlog >/dev/null 2>&1 || true + if [ -f /bin/systemctl ] ; then systemctl --signal USR1 kill rspamd.service ; else service rspamd reopenlog >/dev/null 2>&1 ; fi || true endscript } |