diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-04-20 11:26:05 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-04-20 11:37:29 +0100 |
commit | bf8f9c32e35f58d1da9ea4bf91b392bcff8f70c6 (patch) | |
tree | 6898fd88e73053477c781827162a44497dcbbe54 /debian/rspamd.logrotate | |
parent | 694739f6b068583d6a9d0137b8864a6c5d57c0b1 (diff) | |
download | rspamd-bf8f9c32e35f58d1da9ea4bf91b392bcff8f70c6.tar.gz rspamd-bf8f9c32e35f58d1da9ea4bf91b392bcff8f70c6.zip |
[Fix] Fix systemd version of the logrotate script
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 } |