aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mongodb/mongodb.pre-install
blob: 12b09a19696f996c4f6e0b06c7e5a288c3044c09 (plain)
1
2
3
4
5
6
#!/bin/sh

addgroup -S mongodb 2>/dev/null
adduser -S -D -G mongodb -h /var/lib/mongodb -s /sbin/nologin -g mongodb mongodb 2>/dev/null

exit 0