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.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/netdata-freebsd.in b/system/netdata-freebsd.in
index 2d4f457e..fd544c86 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
}