Add an 'exec' in upstart script. SERVER-834

This commit is contained in:
Richard Kreuter 2010-03-26 12:02:25 -04:00
parent 18149f3c47
commit bdcd6683e7
1 changed files with 1 additions and 1 deletions

View File

@ -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