netdata pid is in run/netdata/netdata.pid
Costa Tsaousis (ktsaou) committed
Sep 11, 2018 at 17:55 UTC
0d6cc1a67470d4c39ec799218dfc43a1f92e6867
1 file changed
+1
-1
system/netdata.logrotate.in
+1
-1
@@ -7,6 +7,6 @@
7
notifempty
8
sharedscripts
9
postrotate
10
- /bin/kill -HUP `cat @localstatedir_POST@/run/netdata.pid 2>/dev/null` 2>/dev/null || true
10
+ /bin/kill -HUP `cat @localstatedir_POST@/run/netdata/netdata.pid 2>/dev/null` 2>/dev/null || true
11
endscript
12
}