Skip to content

Commit

Permalink
Fixed buggy script.
Browse files Browse the repository at this point in the history
  • Loading branch information
nclarkekb committed Sep 9, 2015
1 parent 2a97e88 commit fa5e39e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions deploy/deploy-core/scripts/openmq/mq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ updateConfig()
{
line="imq.autocreate.queue.maxNumActiveConsumers"
configfile="$INSTALLDIR/var/mq/instances/imqbroker/props/config.properties"
Mes
# Uncomment line
sed -i "/${line}/ s/# *//" $configfile
echo "Set maxNumActiveConsumers to 20."
Expand All @@ -41,7 +40,7 @@ startBroker()
echo "Broker is already running."
else
echo "Starting broker"
$INSTALLDIR/mq/bin/imqbrokerd -vmargs &
$INSTALLDIR/mq/bin/imqbrokerd >/dev/null 2>&1 &
sleep 3
echo "Broker started"
fi
Expand Down Expand Up @@ -81,4 +80,4 @@ case $1 in
*)
echo "usage: $0 { install | start | stop | status }"
;;
esac
esac

0 comments on commit fa5e39e

Please sign in to comment.