aboutsummaryrefslogtreecommitdiffstats
path: root/testing/netdata
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-31 17:28:40 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-31 17:28:40 +0200
commit6d4e55563baa54f44b7271d35d9a9885066982b7 (patch)
tree815a958524a27f357937b4ea56ed49928f4709e9 /testing/netdata
parent03ee1502d42b8ba84b3e97ca7b31843f06bd3af9 (diff)
downloadaports-6d4e55563baa54f44b7271d35d9a9885066982b7.tar.bz2
aports-6d4e55563baa54f44b7271d35d9a9885066982b7.tar.xz
testing/netdata: fix pre-install
Diffstat (limited to 'testing/netdata')
-rw-r--r--testing/netdata/APKBUILD2
-rw-r--r--testing/netdata/netdata.pre-install3
2 files changed, 3 insertions, 2 deletions
diff --git a/testing/netdata/APKBUILD b/testing/netdata/APKBUILD
index 9e73e6e672..76f782f996 100644
--- a/testing/netdata/APKBUILD
+++ b/testing/netdata/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=netdata
pkgver=1.3.0
-pkgrel=0
+pkgrel=1
pkgdesc="Real-time performance monitoring, done right!"
url="https://github.com/firehol/netdata"
license="GPL"
diff --git a/testing/netdata/netdata.pre-install b/testing/netdata/netdata.pre-install
index 4280230e3d..838a184854 100644
--- a/testing/netdata/netdata.pre-install
+++ b/testing/netdata/netdata.pre-install
@@ -1,3 +1,4 @@
#!/bin/sh
-adduser -S -H -s /sbin/nologin -D netdata 2>/dev/null
+addgroup -S netdata 2>/dev/null
+adduser -S -D -H -h /dev/null -s /sbin/nologin -G netdata -g netdata netdata 2>/dev/null
exit 0