From bdcd6683e7400db0d695a80104431204ee6b362a Mon Sep 17 00:00:00 2001 From: Richard Kreuter Date: Fri, 26 Mar 2010 12:02:25 -0400 Subject: [PATCH] Add an 'exec' in upstart script. SERVER-834 --- debian/mongodb.upstart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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