summaryrefslogtreecommitdiff
path: root/rpm
diff options
context:
space:
mode:
authorErnie Hershey <ernie.hershey@10gen.com>2014-12-23 16:33:38 -0500
committerErnie Hershey <ernie.hershey@10gen.com>2014-12-23 17:34:46 -0500
commit6105f06402fe1e7578d41f3e4e583a1476ef2455 (patch)
tree16af33334d5f6266a74e91833346915e5654e5d9 /rpm
parent784c8b1efa30da2cb1b445a153c0b6fd58703d7a (diff)
downloadmongo-6105f06402fe1e7578d41f3e4e583a1476ef2455.tar.gz
SERVER-16081 add --check to init script daemon command
Diffstat (limited to 'rpm')
-rwxr-xr-xrpm/init.d-mongod2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/init.d-mongod b/rpm/init.d-mongod
index 76fb1a789a4..342a83d67a6 100755
--- a/rpm/init.d-mongod
+++ b/rpm/init.d-mongod
@@ -60,7 +60,7 @@ start()
ulimit -u 32000
echo -n $"Starting mongod: "
- daemon --user "$MONGO_USER" "$NUMACTL $mongod $OPTIONS >/dev/null 2>&1"
+ daemon --user "$MONGO_USER" --check $mongod "$NUMACTL $mongod $OPTIONS >/dev/null 2>&1"
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/mongod