Merge pull request #1001 from sinthuja/test-merge

Fixing https://github.com/wso2/product-iots/issues/1000.
This commit is contained in:
Ruwan 2017-06-13 13:04:22 +05:30 committed by GitHub
commit 5f8b74e94c
2 changed files with 4 additions and 13 deletions

View File

@ -61,10 +61,6 @@ ANALYTICS_INIT_SCRIPT="$CARBON_HOME/wso2/analytics/bin/wso2server.sh"
# 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

View File

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