aboutsummaryrefslogtreecommitdiffstats
path: root/testing/netdata/netdata.initd
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2019-05-27 15:30:46 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-05-27 15:30:57 +0000
commit5e53f637e0b4650f7f7f4df1a2bb6df6287d9866 (patch)
tree328f24b939d2ed7690c11c19b8afdff917bc1dc9 /testing/netdata/netdata.initd
parent67a092075b8d623da92cb38d2d3db8cb69c16d95 (diff)
downloadaports-5e53f637e0b4650f7f7f4df1a2bb6df6287d9866.tar.bz2
aports-5e53f637e0b4650f7f7f4df1a2bb6df6287d9866.tar.xz
testing/netdata: adopt package
Diffstat (limited to 'testing/netdata/netdata.initd')
-rw-r--r--testing/netdata/netdata.initd12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/netdata/netdata.initd b/testing/netdata/netdata.initd
new file mode 100644
index 0000000000..61cad7d002
--- /dev/null
+++ b/testing/netdata/netdata.initd
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+
+command=/usr/sbin/netdata
+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
+}