14 lines
215 B
Bash
Executable File
14 lines
215 B
Bash
Executable File
#. ./startKit.sh
|
|
|
|
pid=`lsof -i tcp:8000 | sed -n '2,2p' | awk '{print $2}'`
|
|
|
|
if [ "$pid" != "" ];then
|
|
kill -9 $pid
|
|
echo $pid has been killed
|
|
fi
|
|
|
|
cd aladmin-system && mvn spring-boot:start > ../nohup.out
|
|
|
|
|
|
|