diff options
author | Marc Vertes <marc.vertes@ugrid.net> | 2016-03-23 19:24:07 +0100 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-03-24 07:02:11 +0000 |
commit | d1cafc1f8ad142e1f2000135ac0967e9499b61b3 (patch) | |
tree | 72189518332f58d66b9d12821c9c6d16ec4fdccd /testing | |
parent | 1a2af8f02b99461acfac584ca3fa62c430928c16 (diff) | |
download | aports-d1cafc1f8ad142e1f2000135ac0967e9499b61b3.tar.bz2 aports-d1cafc1f8ad142e1f2000135ac0967e9499b61b3.tar.xz |
testing/mongodb: add mongodb group at install, as required by openrc
fix #5299
Diffstat (limited to 'testing')
-rw-r--r-- | testing/mongodb/APKBUILD | 4 | ||||
-rw-r--r-- | testing/mongodb/mongodb.pre-install | 3 |
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 |