sleeping before exiting

This commit is contained in:
Darrel Pol 2024-09-12 22:06:04 -05:00
parent 5119fb72b8
commit 54dffa8595

View file

@ -71,11 +71,14 @@ jobs:
# Return to the main project directory
cd ..
# Run the application in the background using nohup
nohup python launch.py --nowebui --listen --api > nohup.out 2>&1 &
# Start the application with nohup and delay
nohup python launch.py --nowebui --listen --api &
# Wait for 60 seconds to allow the application to fully start
sleep 60
# Redirect nohup output
> nohup.out 2>&1
# Detach from the SSH session to prevent hanging
exit