使用@head 保證最新版本
查找並kill 在重啓項目
for pid in $( ps -ef | grep -v grep | grep account |grep 1001|cut -c 10-15);
do
echo $pid;
kill -9 $pid;
echo ' shutdown account succeed ';
done;
sleep 2s
screen -wipe
sleep 2s
screen -dmS account ./start.sh