aboutsummaryrefslogtreecommitdiffstats
path: root/testing/netdata/netdata.pre-install
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.pre-install
parent67a092075b8d623da92cb38d2d3db8cb69c16d95 (diff)
downloadaports-5e53f637e0b4650f7f7f4df1a2bb6df6287d9866.tar.bz2
aports-5e53f637e0b4650f7f7f4df1a2bb6df6287d9866.tar.xz
testing/netdata: adopt package
Diffstat (limited to 'testing/netdata/netdata.pre-install')
-rw-r--r--testing/netdata/netdata.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/netdata/netdata.pre-install b/testing/netdata/netdata.pre-install
new file mode 100644
index 0000000000..7bcb4821ae
--- /dev/null
+++ b/testing/netdata/netdata.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+addgroup -S netdata 2>/dev/null
+adduser -S -D -H -h /dev/null -s /sbin/nologin -G netdata -g netdata netdata 2>/dev/null
+addgroup netdata readproc 2>/dev/null
+exit 0