吴学文
2019-07-09 2ce35cb8d146582b32fd8867ef27ac2930da6ae3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
#### debug model prod
#nohup java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n -jar -Dspring.profiles.active=dev CodeService.jar $1 > code.log 2>&1 &
 
#### normal prod model
#nohup java -jar -Dspring.profiles.active=prod $1 CodeService.jar > code.log $1 2>&1 &
 
#### normal test model
#nohup java -jar -Dspring.profiles.active=test $1 CodeService.jar > code.log $1 2>&1 &
 
#### normal dev model
nohup java -jar -Dspring.profiles.active=dev $1 CodeService.jar > code.log $1 2>&1 &
 
tail -100f code.log