Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Nothing here. spread retract

Clone or download
stop.sh 580 Bytes
Copy Edit Web IDE Raw Blame History
yanggang authored 2020-07-13 18:56 . * fixed the comments
#!/bin/bash
buildTool_pid=
getPid() {
buildTool_pid=`ps aux|grep "BuildToolApplication" | grep -v grep|awk '{print $2}'|head -1`
}
getPid;
if [ -n "$buildTool_pid" ];then
kill -9 $buildTool_pid
echo "-----------------------------------------------"
echo "The weid-build-tools web server stopped successfully."
echo "-----------------------------------------------"
else
echo "-----------------------------------------------"
echo "The weid-build-tools web server already stopped successfully."
echo "-----------------------------------------------"
fi

Comment ( 0 )

Sign in for post a comment