diff options
author | Ernie Hershey <ernie.hershey@10gen.com> | 2014-12-23 16:33:38 -0500 |
---|---|---|
committer | Ernie Hershey <ernie.hershey@10gen.com> | 2014-12-23 17:34:46 -0500 |
commit | 6105f06402fe1e7578d41f3e4e583a1476ef2455 (patch) | |
tree | 16af33334d5f6266a74e91833346915e5654e5d9 /rpm | |
parent | 784c8b1efa30da2cb1b445a153c0b6fd58703d7a (diff) | |
download | mongo-6105f06402fe1e7578d41f3e4e583a1476ef2455.tar.gz |
SERVER-16081 add --check to init script daemon command
Diffstat (limited to 'rpm')
-rwxr-xr-x | rpm/init.d-mongod | 2 |
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 |