summaryrefslogtreecommitdiffstats
path: root/system/netdata-freebsd.in
diff options
context:
space:
mode:
Diffstat (limited to 'system/netdata-freebsd.in')
-rw-r--r--system/netdata-freebsd.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/netdata-freebsd.in b/system/netdata-freebsd.in
index 233535bf..2d4f457e 100644
--- a/system/netdata-freebsd.in
+++ b/system/netdata-freebsd.in
@@ -7,7 +7,7 @@ name=netdata
rcvar=netdata_enable
piddir="@localstatedir_POST@/run/netdata"
-pidfile="${pidfile}/netdata.pid"
+pidfile="${piddir}/netdata.pid"
command="@sbindir_POST@/netdata"
command_args="-P ${pidfile}"