diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-06-15 02:21:27 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-06-15 02:21:27 +0000 |
commit | 0191e4535f7a7d79215f725a5d0639944445b52b (patch) | |
tree | 1ff559e19fea8aac7a1412d5fad9901982c6c028 | |
parent | b3b76bc3cab9d813a860fcead58ae27e4df09312 (diff) | |
download | mongodb-master.tar.gz |
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/mongodb-server.postinst | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index e8d7ae2..037e69a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mongodb (1:2.0.6-1+dyson2) unstable; urgency=low + + * Set /var/lib/mongodb as home dir for mongodb user + + -- Igor Pashev <pashev.igor@gmail.com> Fri, 15 Jun 2012 02:20:00 +0000 + mongodb (1:2.0.6-1+dyson1) unstable; urgency=low * Built for Dyson 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 |