summaryrefslogtreecommitdiff
path: root/rpm/init.d-mongod
diff options
context:
space:
mode:
authorRichard Kreuter <richard@10gen.com>2011-12-01 18:16:58 -0500
committerRichard Kreuter <richard@10gen.com>2011-12-01 18:16:58 -0500
commitd0027e0028a9e57fbff5dac04ae7eb9265f5a5b7 (patch)
treeba3ee98600e5f12f8aeb5fb01fe4265be9ddb2bd /rpm/init.d-mongod
parent7b098d0647f80702160079e98a3bd830b98c5d11 (diff)
downloadmongo-d0027e0028a9e57fbff5dac04ae7eb9265f5a5b7.tar.gz
Do a better job stopping mongod from RPM init script. SERVER-3824
Diffstat (limited to 'rpm/init.d-mongod')
-rw-r--r--rpm/init.d-mongod2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/init.d-mongod b/rpm/init.d-mongod
index 423eed56ba6..62b45a5cffe 100644
--- a/rpm/init.d-mongod
+++ b/rpm/init.d-mongod
@@ -42,7 +42,7 @@ start()
stop()
{
echo -n $"Stopping mongod: "
- killproc -p "$DBPATH"/mongod.lock -t30 -TERM /usr/bin/mongod
+ killproc -p "$DBPATH"/mongod.lock -d 300 /usr/bin/mongod
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/mongod