Skip to content

Commit

Permalink
ensure that initialize_satosa and start are executed if no options ar…
Browse files Browse the repository at this point in the history
…e passed
  • Loading branch information
MdreW committed Aug 23, 2024
1 parent 7390040 commit 9c517fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Docker-compose/run-docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function start {
echo -e "\n"
echo -e "Tiro su la composizione, in caso, con le nuove versioni delle immagini. \n"
docker compose -f docker-compose.yml build django_sp
docker compose -f docker-compose.yml up -d --wait --wait-timeout 60
docker compose -f docker-compose.yml up --wait --wait-timeout 60
echo -e "\n"
echo -e "Completato. Per visionare i logs: 'docker-compose -f docker-compose.yml logs -f'"
exit 0
Expand Down Expand Up @@ -58,8 +58,8 @@ while getopts ":fh" opt; do
exit 1
;;
esac
initialize_satosa
start
done
initialize_satosa
start


0 comments on commit 9c517fc

Please sign in to comment.