You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 3 дни
12345678910111213141516171819202122232425262728293031323334353637
  1. cd cmd/business
  2. rm -f business
  3. go build -o business main.go
  4. echo "打包business成功"
  5. pkill business
  6. echo "停止business服务"
  7. nohup ./business &
  8. echo "启动business服务"
  9. cd ../logic
  10. rm -f logic
  11. go build -o logic main.go
  12. echo "打包logic成功"
  13. pkill logic
  14. echo "停止logic服务"
  15. nohup ./logic &
  16. echo "启动logic服务"
  17. cd ../connect
  18. rm -f connect
  19. go build -o connect main.go
  20. echo "打包connect成功"
  21. pkill connect
  22. echo "停止connect服务"
  23. sleep 2
  24. nohup ./connect &
  25. echo "启动connect服务"
  26. cd ../file
  27. rm -f file
  28. go build -o file main.go
  29. echo "打包file成功"
  30. pkill file
  31. echo "停止file服务"
  32. nohup ./file &
  33. echo "启动file服务"