Newer
Older
casic-smart-kitchen / casic-web / src / main / build / bin / deploy.sh
wangpeng on 18 Jan 2023 267 bytes 年底终版
#!/bin/bash
ID=`lsof -i | grep 5903 | awk '{print $2}'`
echo The process pid is $ID
for id in $ID
do
    kill -9 $id
    echo killed $id
done
cd /home/admin/app/wangpeng/smartkitchen/casic-web-2.0.0/
nohup java -jar ./lib/casic-web-2.0.0.jar > /dev/null 2>&1 &
exit 0