Loading services/check_services_are_running.sh +2 −2 Original line number Original line Diff line number Diff line #!/bin/bash #!/bin/bash running="$(docker-compose -f docker-compose-capif.yml ps --services --all --filter "status=running")" running="$(docker compose -f docker-compose-capif.yml ps --services --all --filter "status=running")" services="$(docker-compose -f docker-compose-capif.yml ps --services --all)" services="$(docker compose -f docker-compose-capif.yml ps --services --all)" if [ "$running" != "$services" ]; then if [ "$running" != "$services" ]; then echo "Following services are not running:" echo "Following services are not running:" # Bash specific # Bash specific Loading services/clean_capif_docker_services.sh +2 −2 Original line number Original line Diff line number Diff line Loading @@ -62,8 +62,8 @@ echo "after check" echo "${FILES[@]}" echo "${FILES[@]}" for FILE in "${FILES[@]}"; do for FILE in "${FILES[@]}"; do echo "Executing 'docker-compose down' for file $FILE" echo "Executing 'docker compose down' for file $FILE" docker-compose -f "$FILE" down --rmi all docker compose -f "$FILE" down --rmi all status=$? status=$? if [ $status -eq 0 ]; then if [ $status -eq 0 ]; then echo "*** Removed Service from $FILE ***" echo "*** Removed Service from $FILE ***" Loading services/run.sh +2 −2 Original line number Original line Diff line number Diff line Loading @@ -28,13 +28,13 @@ else fi fi # Read params # Read params while getopts ":c:m:h" opt; do while getopts ":c:mh" opt; do case $opt in case $opt in c) c) HOSTNAME="$OPTARG" HOSTNAME="$OPTARG" ;; ;; m) m) MONITORING_STATE="$OPTARG" MONITORING_STATE=true ;; ;; h) h) help help Loading Loading
services/check_services_are_running.sh +2 −2 Original line number Original line Diff line number Diff line #!/bin/bash #!/bin/bash running="$(docker-compose -f docker-compose-capif.yml ps --services --all --filter "status=running")" running="$(docker compose -f docker-compose-capif.yml ps --services --all --filter "status=running")" services="$(docker-compose -f docker-compose-capif.yml ps --services --all)" services="$(docker compose -f docker-compose-capif.yml ps --services --all)" if [ "$running" != "$services" ]; then if [ "$running" != "$services" ]; then echo "Following services are not running:" echo "Following services are not running:" # Bash specific # Bash specific Loading
services/clean_capif_docker_services.sh +2 −2 Original line number Original line Diff line number Diff line Loading @@ -62,8 +62,8 @@ echo "after check" echo "${FILES[@]}" echo "${FILES[@]}" for FILE in "${FILES[@]}"; do for FILE in "${FILES[@]}"; do echo "Executing 'docker-compose down' for file $FILE" echo "Executing 'docker compose down' for file $FILE" docker-compose -f "$FILE" down --rmi all docker compose -f "$FILE" down --rmi all status=$? status=$? if [ $status -eq 0 ]; then if [ $status -eq 0 ]; then echo "*** Removed Service from $FILE ***" echo "*** Removed Service from $FILE ***" Loading
services/run.sh +2 −2 Original line number Original line Diff line number Diff line Loading @@ -28,13 +28,13 @@ else fi fi # Read params # Read params while getopts ":c:m:h" opt; do while getopts ":c:mh" opt; do case $opt in case $opt in c) c) HOSTNAME="$OPTARG" HOSTNAME="$OPTARG" ;; ;; m) m) MONITORING_STATE="$OPTARG" MONITORING_STATE=true ;; ;; h) h) help help Loading