diff options
-rwxr-xr-x | rpm/init.d-mongod | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/rpm/init.d-mongod b/rpm/init.d-mongod index a4777f45d4b..76fb1a789a4 100755 --- a/rpm/init.d-mongod +++ b/rpm/init.d-mongod @@ -19,9 +19,6 @@ CONFIGFILE="/etc/mongod.conf" OPTIONS=" -f $CONFIGFILE" SYSCONFIG="/etc/sysconfig/mongod" -# FIXME: 1.9.x has a --shutdown flag that parses the config file and -# shuts down the correct running pid, but that's unavailable in 1.8 -# for now. This can go away when this script stops supporting 1.8. DBPATH=`awk -F'[:=]' -v IGNORECASE=1 '/^[[:blank:]]*dbpath[[:blank:]]*[:=][[:blank:]]*/{print $2}' "$CONFIGFILE" | tr -d '[:blank:]'` PIDFILEPATH=`awk -F'[:=]' -v IGNORECASE=1 '/^[[:blank:]]*pidfilepath[[:blank:]]*[:=][[:blank:]]*/{print $2}' "$CONFIGFILE" | tr -d '[:blank:]'` PIDDIR=`dirname $PIDFILEPATH` |