Skip to content

Commit

Permalink
adjust initial sleep to allow backend to start to 15 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
bdamokos committed Dec 26, 2024
1 parent 4150e93 commit 9c22590
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/service/start_display.sh.docker.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# chmod +x ~/start_display.sh
echo "----------------------------------------"
echo "Starting display service script (Docker Version)"
echo "Version: 0.0.5 (2024-12-21)" # AUTO-INCREMENT
echo "Version: 0.0.6 (2024-12-26)" # AUTO-INCREMENT
echo "----------------------------------------"
echo "MIT License - Copyright (c) 2024 Bence Damokos"
echo "----------------------------------------"
Expand Down Expand Up @@ -254,7 +254,7 @@ echo "Backend server started in container: $CONTAINER_ID"
echo "----------------------------------------"

# Wait for backend to start
sleep 5
sleep 15

# Step 8: Start the display program
cd ~/display_programme
Expand Down
4 changes: 2 additions & 2 deletions docs/service/start_display.sh.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# chmod +x ~/start_display.sh
echo "----------------------------------------"
echo "Starting display service script"
echo "Version: 0.0.17 (2024-12-24)" # AUTO-INCREMENT
echo "Version: 0.0.18 (2024-12-26)" # AUTO-INCREMENT
echo "----------------------------------------"
echo "MIT License - Copyright (c) 2024 Bence Damokos"
echo "----------------------------------------"
Expand Down Expand Up @@ -265,7 +265,7 @@ echo "Backend server started."
echo "----------------------------------------"

# Wait for backend to start
sleep 5
sleep 15

# Step 8: Start the display program
cd ~/display_programme
Expand Down

0 comments on commit 9c22590

Please sign in to comment.