mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-01 05:11:19 -08:00
sleeping before exiting
This commit is contained in:
parent
5119fb72b8
commit
54dffa8595
1 changed files with 5 additions and 2 deletions
7
.github/workflows/on_merge_to_master.yaml
vendored
7
.github/workflows/on_merge_to_master.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue