sinthuja 8 years ago
parent 0710e92640
commit 2fc5104043

@ -181,7 +181,7 @@ elif [ "$CMD" = "start" ]; then
fi fi
export CARBON_HOME=$CARBON_HOME export CARBON_HOME=$CARBON_HOME
# using nohup sh to avoid erros in solaris OS.TODO # 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 exit 0
elif [ "$CMD" = "stop" ]; then elif [ "$CMD" = "stop" ]; then
export CARBON_HOME=$CARBON_HOME export CARBON_HOME=$CARBON_HOME
@ -200,7 +200,7 @@ elif [ "$CMD" = "restart" ]; then
done done
# using nohup sh to avoid erros in solaris OS.TODO # 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 exit 0
elif [ "$CMD" = "test" ]; then elif [ "$CMD" = "test" ]; then
JAVACMD="exec "$JAVACMD"" JAVACMD="exec "$JAVACMD""

Loading…
Cancel
Save