|
|
@ -37,10 +37,13 @@ PRGDIR=`dirname "$PRG"`
|
|
|
|
sh "$CARBON_HOME/core/bin/wso2server.sh" $* &
|
|
|
|
sh "$CARBON_HOME/core/bin/wso2server.sh" $* &
|
|
|
|
sh "$CARBON_HOME/analytics/bin/wso2server.sh" $* &
|
|
|
|
sh "$CARBON_HOME/analytics/bin/wso2server.sh" $* &
|
|
|
|
|
|
|
|
|
|
|
|
trap "sh $CARBON_HOME/bin/stop-all.sh; exit;" SIGINT SIGTERM
|
|
|
|
if [ ! -z "$*" ]; then
|
|
|
|
|
|
|
|
exit;
|
|
|
|
while :
|
|
|
|
else
|
|
|
|
do
|
|
|
|
trap "sh $CARBON_HOME/bin/stop-all.sh; exit;" SIGINT SIGTERM
|
|
|
|
sleep 60
|
|
|
|
while :
|
|
|
|
done
|
|
|
|
do
|
|
|
|
|
|
|
|
sleep 60
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|