Skip to content

Commit

Permalink
Merge pull request #23 from M1kep/patch-2
Browse files Browse the repository at this point in the history
Add ability for pre-start script
  • Loading branch information
YanWenKun authored Mar 6, 2024
2 parents db4fe1b + b8c9d87 commit 46316cc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ if [ ! -f "/home/runner/.download-complete" ] ; then
bash /home/scripts/download.sh
fi ;

if [ -f "/home/runner/scripts/pre-start.sh" ]; then
echo "########################################"
echo "Checking for pre-start script..."
echo "########################################"

chmod +x /home/runner/scripts/pre-start.sh
bash /home/runner/scripts/pre-start.sh
else
echo "No pre-start script found. Skipping."
fi


echo "########################################"
echo "Starting ComfyUI..."
echo "########################################"
Expand Down

0 comments on commit 46316cc

Please sign in to comment.