Skip to content
Permalink
Browse files

Fixed buggy script.

  • Loading branch information...
nclarkekb committed Sep 9, 2015
1 parent 2a97e88 commit fa5e39ec0390effdd36bb7a06c9ca60367cbe6be
Showing with 2 additions and 3 deletions.
  1. +2 −3 deploy/deploy-core/scripts/openmq/mq.sh
@@ -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."
@@ -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
@@ -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.
You can’t perform that action at this time.