sinthuja 8 years ago
parent 2fc5104043
commit 6ac04eba48

@ -61,10 +61,6 @@ ANALYTICS_INIT_SCRIPT="$CARBON_HOME/wso2/analytics/bin/wso2server.sh"
# If the daemon is not there, then exit. # If the daemon is not there, then exit.
sh $ANALYTICS_INIT_SCRIPT $* & $ANALYTICS_INIT_SCRIPT $*
exit;
trap "sh $ANALYTICS_INIT_SCRIPT stop; exit;" INT TERM
while :
do
sleep 60
done

@ -61,10 +61,5 @@ BROKER_INIT_SCRIPT="$CARBON_HOME/wso2/broker/bin/wso2server.sh"
# If the daemon is not there, then exit. # If the daemon is not there, then exit.
sh $BROKER_INIT_SCRIPT $* & $BROKER_INIT_SCRIPT $*
exit;
trap "sh $BROKER_INIT_SCRIPT stop; exit;" INT TERM
while :
do
sleep 60
done

Loading…
Cancel
Save