summaryrefslogtreecommitdiffstats
path: root/system/netdata-freebsd.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/netdata-freebsd.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/netdata-freebsd.in b/system/netdata-freebsd.in
index 2d4f457e2..fd544c86c 100644
--- a/system/netdata-freebsd.in
+++ b/system/netdata-freebsd.in
@@ -25,6 +25,7 @@ savedb_cmd="netdata_savedb"
netdata_prestart()
{
[ ! -d "${piddir}" ] && mkdir -p "${piddir}"
+ chown @netdata_user_POST@:@netdata_user_POST@ "${piddir}"
return 0
}