summaryrefslogtreecommitdiffstats
path: root/system/netdata-openrc.in
diff options
context:
space:
mode:
Diffstat (limited to 'system/netdata-openrc.in')
-rw-r--r--system/netdata-openrc.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/netdata-openrc.in b/system/netdata-openrc.in
index e0070526..2acf282e 100644
--- a/system/netdata-openrc.in
+++ b/system/netdata-openrc.in
@@ -35,7 +35,9 @@ depend() {
use logger
need net
after ${NETDATA_START_AFTER_SERVICES}
+}
+start_pre() {
checkpath -o ${NETDATA_OWNER} -d @localstatedir_POST@/cache/netdata @localstatedir_POST@/run/netdata
}