diff options
author | Richard Kreuter <richard@10gen.com> | 2010-02-10 13:18:13 -0500 |
---|---|---|
committer | Richard Kreuter <richard@10gen.com> | 2010-02-10 13:18:13 -0500 |
commit | 8e3bf0fecada98f2e348256573b1f349e1f4dc45 (patch) | |
tree | 307a9d6f4152f0bf8d45df5c4662f0bdabc51ad9 | |
parent | b255688822a2958530233ff2d9d438b23ede1839 (diff) | |
download | mongo-8e3bf0fecada98f2e348256573b1f349e1f4dc45.tar.gz |
Run mongod as user mongodb on upstart systems. MINOR
-rw-r--r-- | debian/mongodb.upstart | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/mongodb.upstart b/debian/mongodb.upstart index 6569165b781..6654f41b399 100644 --- a/debian/mongodb.upstart +++ b/debian/mongodb.upstart @@ -7,4 +7,4 @@ end script start on runlevel [345] -exec /usr/bin/mongod --config /etc/mongodb.conf +exec su -c "/usr/bin/mongod --config /etc/mongodb.conf" -s "/bin/sh" mongodb |