Loading sharding-proxy/src/main/resources/bin/start.sh +3 −2 Original line number Diff line number Diff line Loading @@ -30,12 +30,13 @@ echo "Starting the $SERVER_NAME ..." if [ $# == 1 ]; then MAIN_CLASS=$MAIN_CLASS" "$1 echo "The port is configured as $1." echo "The port is configured as $1" fi if [ $# == 2 ]; then MAIN_CLASS=$MAIN_CLASS" "$1" "$2 echo "The configuration file is $DEPLOY_DIR/conf/$2." echo "The port is configured as $1" echo "The configuration file is $DEPLOY_DIR/conf/$2" fi nohup java $JAVA_OPTS $JAVA_MEM_OPTS -classpath $CLASS_PATH $MAIN_CLASS > $STDOUT_FILE 2>&1 & Loading Loading
sharding-proxy/src/main/resources/bin/start.sh +3 −2 Original line number Diff line number Diff line Loading @@ -30,12 +30,13 @@ echo "Starting the $SERVER_NAME ..." if [ $# == 1 ]; then MAIN_CLASS=$MAIN_CLASS" "$1 echo "The port is configured as $1." echo "The port is configured as $1" fi if [ $# == 2 ]; then MAIN_CLASS=$MAIN_CLASS" "$1" "$2 echo "The configuration file is $DEPLOY_DIR/conf/$2." echo "The port is configured as $1" echo "The configuration file is $DEPLOY_DIR/conf/$2" fi nohup java $JAVA_OPTS $JAVA_MEM_OPTS -classpath $CLASS_PATH $MAIN_CLASS > $STDOUT_FILE 2>&1 & Loading