启动 jetty 的脚本
#!/bin/bashA=`netstat -tunpl |grep 8000 |awk '{print $7}' |awk -F "/" '{print $1}'`
echo "A=$A"
if [ -n "$A" ];then
kill -9 $A
echo "jetty_PID=$A"
else
echo "NO Jetty Active"
fi
cd /home/test/class4_ui/routers/jetty/
java-DrouterConf=/home/test/class4_ui/routers/conf/data.properties -Xms512m -Xmx600m-jar /usr/src/jetty-7.0.0.pre5/start.jar myjetty.xml &
页:
[1]