aports/testing/mongodb/mongodb.pre-install

6 lines
102 B
Bash

#!/bin/sh
addgroup mongodb
adduser -D -G mongodb -h /var/lib/mongodb -s /sbin/nologin mongodb
exit 0