aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/mongodb/APKBUILD4
-rw-r--r--testing/mongodb/mongodb.pre-install3
2 files changed, 4 insertions, 3 deletions
diff --git a/testing/mongodb/APKBUILD b/testing/mongodb/APKBUILD
index cad7ba1568..39e03b92d9 100644
--- a/testing/mongodb/APKBUILD
+++ b/testing/mongodb/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Marc Vertes <marc.vertes@ugrid.net>
pkgname=mongodb
pkgver=3.2.4
-pkgrel=0
+pkgrel=1
pkgdesc='A high-performance, open source, schema-free document-oriented database'
url='http://www.mongodb.org'
arch='x86_64'
@@ -80,7 +80,7 @@ package() {
# install alpine specific files
install -dm700 "$pkgdir/var/lib/mongodb"
install -dm755 "$pkgdir/var/log/mongodb"
- chown mongodb:daemon "$pkgdir/var/lib/mongodb" "$pkgdir/var/log/mongodb"
+ chown mongodb:mongodb "$pkgdir/var/lib/mongodb" "$pkgdir/var/log/mongodb"
install -Dm755 "$srcdir/mongodb.initd" "$pkgdir/etc/init.d/mongodb"
install -Dm644 "$srcdir/mongodb.confd" "$pkgdir/etc/conf.d/mongodb"
diff --git a/testing/mongodb/mongodb.pre-install b/testing/mongodb/mongodb.pre-install
index e02453f7b9..9b4b642f6a 100644
--- a/testing/mongodb/mongodb.pre-install
+++ b/testing/mongodb/mongodb.pre-install
@@ -1,4 +1,5 @@
#!/bin/sh
-adduser -D -G daemon -h /var/lib/mongodb -s /sbin/nologin mongodb
+addgroup mongodb
+adduser -D -G mongodb -h /var/lib/mongodb -s /sbin/nologin mongodb
exit 0