summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorRichard Kreuter <richard@10gen.com>2010-03-26 12:02:25 -0400
committerRichard Kreuter <richard@10gen.com>2010-03-26 12:02:25 -0400
commitbdcd6683e7400db0d695a80104431204ee6b362a (patch)
tree0705bbc18e2b9511e722bf6a4cb56902d47f31d2 /debian
parent18149f3c47b7c8b1b547184fc571640821e96224 (diff)
downloadmongo-bdcd6683e7400db0d695a80104431204ee6b362a.tar.gz
Add an 'exec' in upstart script. SERVER-834
Diffstat (limited to 'debian')
-rw-r--r--debian/mongodb.upstart2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/mongodb.upstart b/debian/mongodb.upstart
index db061d57e64..ca6f9b75cf7 100644
--- a/debian/mongodb.upstart
+++ b/debian/mongodb.upstart
@@ -11,5 +11,5 @@ stop on runlevel [06]
script
ENABLE_MONGODB="yes"
if [ -f /etc/default/mongodb ]; then . /etc/default/mongodb; fi
- if [ "x$ENABLE_MONGODB" = "xyes" ]; then start-stop-daemon --start --quiet --chuid mongodb --exec /usr/bin/mongod -- --config /etc/mongodb.conf; fi
+ if [ "x$ENABLE_MONGODB" = "xyes" ]; then exec start-stop-daemon --start --quiet --chuid mongodb --exec /usr/bin/mongod -- --config /etc/mongodb.conf; fi
end script