From 2fc51040430c2386234bcc53306602ad785ebe22 Mon Sep 17 00:00:00 2001 From: sinthuja Date: Tue, 13 Jun 2017 12:19:13 +0530 Subject: [PATCH] Fixing https://github.com/wso2/product-iots/issues/522. --- modules/distribution/src/core/bin/iot-server.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/distribution/src/core/bin/iot-server.sh b/modules/distribution/src/core/bin/iot-server.sh index c57597e4..a3ef3be0 100755 --- a/modules/distribution/src/core/bin/iot-server.sh +++ b/modules/distribution/src/core/bin/iot-server.sh @@ -181,7 +181,7 @@ elif [ "$CMD" = "start" ]; then fi export CARBON_HOME=$CARBON_HOME # using nohup sh to avoid erros in solaris OS.TODO - nohup sh $CARBON_HOME/bin/wso2server.sh $args > /dev/null 2>&1 & + nohup sh $CARBON_HOME/bin/iot-server.sh $args > /dev/null 2>&1 & exit 0 elif [ "$CMD" = "stop" ]; then export CARBON_HOME=$CARBON_HOME @@ -200,7 +200,7 @@ elif [ "$CMD" = "restart" ]; then done # using nohup sh to avoid erros in solaris OS.TODO - nohup sh $CARBON_HOME/bin/wso2server.sh $args > /dev/null 2>&1 & + nohup sh $CARBON_HOME/bin/iot-server.sh $args > /dev/null 2>&1 & exit 0 elif [ "$CMD" = "test" ]; then JAVACMD="exec "$JAVACMD""