Commit 8c5c3705 authored by 赵啸非's avatar 赵啸非

修改前端生成页面

parent 41322f2c
...@@ -18,14 +18,14 @@ writelog() { ...@@ -18,14 +18,14 @@ writelog() {
if [ ! -n "$PORT" ]; then if [ ! -n "$PORT" ]; then
writelog $"Usage: $0 {port}" writelog $"Usage: $0 {port}"
exit $FAIL exit 9
fi fi
pid=`ps ax | grep -i "$MAIN_CLASS" | grep java | grep -v grep | awk '{print $1}'` pid=`ps ax | grep -i "$MAIN_CLASS" | grep java | grep -v grep | awk '{print $1}'`
if [ -z "$pid" ] ; then if [ -z "$pid" ] ; then
writelog "No Server running." writelog "No Server running."
#exit 0; exit 0;
fi fi
writelog "stoping application $PROJECT_NAME......" writelog "stoping application $PROJECT_NAME......"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment