summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2022-12-23 15:38:54 +0200
committerGitHub <noreply@github.com>2022-12-23 15:38:54 +0200
commit3f140c7e4504fd1d554eda69e60b3851514fd4c8 (patch)
tree97de0337155b12efc559e6869f28db791f8fd523
parent43eb8b118198dcc5bba217bf2a3417c13dd9a89d (diff)
fix logrotate postrotate (#14180)
-rw-r--r--system/netdata.logrotate.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/netdata.logrotate.in b/system/netdata.logrotate.in
index a766b6cce4..2c4949e5f6 100644
--- a/system/netdata.logrotate.in
+++ b/system/netdata.logrotate.in
@@ -7,6 +7,6 @@
notifempty
sharedscripts
postrotate
- /bin/kill -HUP `cat @localstatedir_POST@/run/netdata/netdata.pid 2>/dev/null` 2>/dev/null || true
+ /bin/kill -HUP `cat /run/netdata/netdata.pid 2>/dev/null` 2>/dev/null || true
endscript
}