An extra `screen -ls` command has been added after the sleep to ensure the screen session status is checked again, providing a double verification.
This commit is contained in:
parent
a62ef5dad4
commit
34482f7c4a
@ -72,4 +72,5 @@ jobs:
|
||||
screen -dmS ${{ vars.APP_NAME }} base -c 'nohup /usr/local/java/jdk1.8.0_202/bin/java -jar /home/tools/${{ vars.APP_NAME }}/${{ vars.JAR_NAME }} > /home/tools/${{ vars.APP_NAME }}/apprun.log 2>&1 &'
|
||||
screen -ls
|
||||
sleep 20
|
||||
screen -ls
|
||||
exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user