1
0

feat: 运行脚本

This commit is contained in:
TsMask
2023-10-10 14:30:52 +08:00
parent 039ad74561
commit e179731fa8
2 changed files with 20 additions and 1 deletions

View File

@@ -15,5 +15,6 @@ go build -ldflags="-s -w" -o omcDevApp
nohup ./omcDevApp -c ./dev.yaml > ./dev.log 2>&1 &
# 查找进程并杀死
ps aux | grep omcDevApp | awk '{print $2}' | xargs kill
kill -9 $(ps aux | grep "omcDevApp" | grep -v grep | awk '{print $2}')
ps aux | grep omcDevApp
```