Commit 71819d47 authored by tristaZero's avatar tristaZero
Browse files

modify msg.

parent a634b6a4
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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 &