start_consoleService.sh 543 B

1234567891011121314
  1. #!/bin/bash
  2. #### debug model prod
  3. #nohup java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n -jar -Dspring.profiles.active=dev ConsoleService.jar > console.log 2>&1 &
  4. #### normal prod model
  5. #nohup java -jar -Dspring.profiles.active=prod ConsoleService.jar > console.log 2>&1 &
  6. #### normal test model
  7. #nohup java -jar -Dspring.profiles.active=test ConsoleService.jar > console.log 2>&1 &
  8. #### normal dev model
  9. nohup java -jar -Dspring.profiles.active=dev ConsoleService.jar > console.log 2>&1 &
  10. tail -100f console.log