pm2-start-all.sh 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. cd service-activity
  2. pm2 start ./server.js --name service-activity --watch
  3. cd ..
  4. cd service-cms
  5. pm2 start ./server.js --name service-cms --watch
  6. cd ..
  7. cd service-code
  8. pm2 start ./server.js --name service-code --watch
  9. cd ..
  10. cd service-contribution
  11. pm2 start ./server.js --name service-contribution --watch
  12. cd ..
  13. cd service-files
  14. pm2 start ./server.js --name service-files --watch
  15. cd ..
  16. cd service-gateway
  17. pm2 start ./server.js --name service-gateway --watch
  18. cd ..
  19. cd service-goods
  20. pm2 start ./server.js --name service-goods --watch
  21. cd ..
  22. cd service-import-export
  23. pm2 start ./server.js --name service-import-export --watch
  24. cd ..
  25. cd service-journal
  26. pm2 start ./server.js --name service-journal --watch
  27. cd ..
  28. cd service-log
  29. pm2 start ./server.js --name service-log --watch
  30. cd ..
  31. cd service-login
  32. pm2 start ./server.js --name service-login --watch
  33. cd ..
  34. cd service-market
  35. pm2 start ./server.js --name service-market --watch
  36. cd ..
  37. cd service-media
  38. pm2 start ./server.js --name service-media --watch
  39. cd ..
  40. cd service-naf
  41. pm2 start ./server.js --name service-naf --watch
  42. cd ..
  43. cd service-org
  44. pm2 start ./server.js --name service-org --watch
  45. cd ..
  46. cd service-reader
  47. pm2 start ./server.js --name service-reader --watch
  48. cd ..
  49. cd service-user
  50. pm2 start ./server.js --name service-user --watch
  51. cd ..
  52. cd service-vip
  53. pm2 start ./server.js --name service-vip --watch
  54. cd ..
  55. cd service-wx
  56. pm2 start ./server.js --name service-wx --watch
  57. cd ..
  58. cd service-question-bank
  59. pm2 start ./server.js --name service-question-bank --watch
  60. cd ..
  61. cd service-integral
  62. pm2 start ./server.js --name service-integral --watch
  63. pm2 startup
  64. pm2 save