aboutsummaryrefslogtreecommitdiffstats
path: root/community/mongodb/mongodb.pre-install
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-04-21 14:15:59 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-04-21 14:44:37 +0000
commita86740d743de969471c628c71c75d6d6678ca12c (patch)
tree3413d775d1ecfdebafae7d19b6ca6232aa1dc838 /community/mongodb/mongodb.pre-install
parent24bfdd2da0799ef4557fdc3588a701fcc0f6c8ee (diff)
downloadaports-a86740d743de969471c628c71c75d6d6678ca12c.tar.bz2
aports-a86740d743de969471c628c71c75d6d6678ca12c.tar.xz
community/mongodb: moved from testing
Diffstat (limited to 'community/mongodb/mongodb.pre-install')
-rw-r--r--community/mongodb/mongodb.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/mongodb/mongodb.pre-install b/community/mongodb/mongodb.pre-install
new file mode 100644
index 0000000000..1ed56eb7f4
--- /dev/null
+++ b/community/mongodb/mongodb.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S mongodb 2>/dev/null
+adduser -S -D -h /var/lib/mongodb -s /sbin/nologin -G mongodb -g mongodb mongodb 2>/dev/null
+
+exit 0