diff options
Diffstat (limited to 'debian/mongodb-server.postinst')
-rw-r--r-- | debian/mongodb-server.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/mongodb-server.postinst b/debian/mongodb-server.postinst index 5dac006..5836d7e 100644 --- a/debian/mongodb-server.postinst +++ b/debian/mongodb-server.postinst @@ -22,7 +22,7 @@ case "$1" in configure) # create a mongodb group and user if ! grep -q mongodb /etc/passwd; then - adduser --system --no-create-home mongodb + adduser --system --no-create-home --home /var/lib/mongodb mongodb addgroup --system mongodb adduser mongodb mongodb fi |