aboutsummaryrefslogtreecommitdiffstats
path: root/community/netdata/netdata.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/netdata/netdata.initd')
-rw-r--r--community/netdata/netdata.initd5
1 files changed, 4 insertions, 1 deletions
diff --git a/community/netdata/netdata.initd b/community/netdata/netdata.initd
index 8e7a37388c9..9b08ef6f7cc 100644
--- a/community/netdata/netdata.initd
+++ b/community/netdata/netdata.initd
@@ -1,11 +1,14 @@
#!/sbin/openrc-run
-supervisor=supervise-daemon
name="Netdata"
description="Real-time performance monitoring"
command="/usr/sbin/netdata"
command_args_foreground="-D"
+# Needed for disk I/O utilization reporting.
+# (This is supported since OpenRC 0.45)
+capabilities="^cap_dac_read_search,^cap_sys_ptrace"
+
depend() {
need net
after apache2 squid nginx mysql named opensips hostapd postfix lm_sensors