Add logging for application startup
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 34s
All checks were successful
Build and Deploy Spring Boot / build-and-deploy (push) Successful in 34s
The change redirects the output of the Java application to a log file named `apprun.log` for better tracking and debugging.
This commit is contained in:
parent
4a13ef8677
commit
c59a3817a8
@ -68,4 +68,4 @@ jobs:
|
||||
script: |
|
||||
rm -f /home/tools/${{ vars.APP_NAME }}/${{ vars.JAR_NAME }}
|
||||
mv /home/tools/${{ vars.APP_NAME }}/package/target/${{ vars.JAR_NAME }} /home/tools/${{ vars.APP_NAME }}/${{ vars.JAR_NAME }}
|
||||
screen -dmS ${{ vars.APP_NAME }} /usr/local/java/jdk1.8.0_202/bin/java -jar /home/tools/${{ vars.APP_NAME }}/${{ vars.JAR_NAME }}
|
||||
screen -dmS ${{ vars.APP_NAME }} /usr/local/java/jdk1.8.0_202/bin/java -jar /home/tools/${{ vars.APP_NAME }}/${{ vars.JAR_NAME }}>apprun.log
|
||||
|
Loading…
x
Reference in New Issue
Block a user