|
@@ -1,7 +1,7 @@
|
|
|
#!/bin/sh
|
|
|
APP_NAME=720yun_fd_consumer.jar
|
|
|
APP_PORT=8003
|
|
|
-APP_EVN=$2 #执行环境 sit|pro
|
|
|
+APP_EVN=$2 #执行环境 sit|pro 1
|
|
|
APP_ORDER=$1 #执行方法 start|stop|restart
|
|
|
# 获取进程号
|
|
|
APP_PID=`netstat -ntpl | grep $APP_PORT | grep LISTEN | awk '{print $7}' | awk -F "/" '{print $1}'`
|