summaryrefslogtreecommitdiff
path: root/core/syslog-ng/syslog-ng.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'core/syslog-ng/syslog-ng.logrotate')
-rw-r--r--core/syslog-ng/syslog-ng.logrotate2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/syslog-ng/syslog-ng.logrotate b/core/syslog-ng/syslog-ng.logrotate
index e0e6929f2..3509f2970 100644
--- a/core/syslog-ng/syslog-ng.logrotate
+++ b/core/syslog-ng/syslog-ng.logrotate
@@ -2,6 +2,6 @@
missingok
sharedscripts
postrotate
- /bin/kill -HUP `cat /var/run/syslog-ng.pid 2>/dev/null` 2> /dev/null || true
+ /bin/kill -HUP $(cat /run/syslog-ng.pid 2>/dev/null) 2>/dev/null || true
endscript
}