some more fixes to the startup script.

merge-requests/1/head
sinthuja 8 years ago
parent 37b2cb01ff
commit da7929c5a3

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