aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mongodb/mongodb.pre-install
blob: 1ed56eb7f40be8dead69ad59e9b5d17665402387 (plain)
1
2
3
4
5
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