aboutsummaryrefslogtreecommitdiffstats
path: root/testing/netdata/netdata.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/netdata/netdata.initd')
-rw-r--r--testing/netdata/netdata.initd7
1 files changed, 6 insertions, 1 deletions
diff --git a/testing/netdata/netdata.initd b/testing/netdata/netdata.initd
index 79a3a9c55d..61cad7d002 100644
--- a/testing/netdata/netdata.initd
+++ b/testing/netdata/netdata.initd
@@ -1,7 +1,12 @@
#!/sbin/openrc-run
command=/usr/sbin/netdata
-command_args=""
pidfile=/run/netdata.pid
+command_args="-P ${pidfile}"
name="netdata"
description="Real-time performance monitoring"
+
+depend() {
+ need net
+ after apache2 squid nginx mysql named opensips hostapd postfix lm_sensors
+}