nohup java -jar -Dlogging.path=/home/boncredis/code/logs datareport-1.0.0-SNAPSHOT.jar > catalina.out 2>&1 &
其中logging.path=/home/boncredis/code/logs 就是要设置的环境变量的参数
nohup java -jar -Dlogging.path=/home/boncredis/code/logs datareport-1.0.0-SNAPSHOT.jar > catalina.out 2>&1 &
其中logging.path=/home/boncredis/code/logs 就是要设置的环境变量的参数