aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mongodb/mongodb.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mongodb/mongodb.pre-install')
-rw-r--r--testing/mongodb/mongodb.pre-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/mongodb/mongodb.pre-install b/testing/mongodb/mongodb.pre-install
new file mode 100644
index 0000000000..e02453f7b9
--- /dev/null
+++ b/testing/mongodb/mongodb.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+adduser -D -G daemon -h /var/lib/mongodb -s /sbin/nologin mongodb
+exit 0