summaryrefslogtreecommitdiffstats
path: root/network/exim/contrib/exim.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'network/exim/contrib/exim.logrotate')
-rw-r--r--network/exim/contrib/exim.logrotate12
1 files changed, 6 insertions, 6 deletions
diff --git a/network/exim/contrib/exim.logrotate b/network/exim/contrib/exim.logrotate
index 36b542b5f4..9653b546d8 100644
--- a/network/exim/contrib/exim.logrotate
+++ b/network/exim/contrib/exim.logrotate
@@ -1,8 +1,8 @@
/var/log/exim/*.log {
- missingok
- notifempty
- sharedscripts
- postrotate
- /bin/kill -HUP $(cat /var/run/exim.pid 2>/dev/null) 2>/dev/null || /usr/bin/true
- endscript
+ missingok
+ notifempty
+ sharedscripts
+ postrotate
+ pkill -F /var/run/exim.pid -HUP > /dev/null 2>&1 || true
+ endscript
}