feat: 运行脚本

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

No files matched your search

+2 -1
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
```