Loading services/check_services_are_running.sh +7 −6 Original line number Original line Diff line number Diff line Loading @@ -2,9 +2,10 @@ export CAPIF_PRIV_KEY= export CAPIF_PRIV_KEY= export CAPIF_PRIV_KEY_BASE_64= export CAPIF_PRIV_KEY_BASE_64= export MONITORING= export MONITORING= export LOG_LEVEL=DEBUG running="$(docker compose -f docker-compose-vault.yml ps --services --all --filter "status=running")" running="$(LOG_LEVEL=$LOG_LEVEL docker compose -f docker-compose-vault.yml ps --services --all --filter "status=running")" services="$(docker compose -f docker-compose-vault.yml ps --services --all)" services="$(LOG_LEVEL=$LOG_LEVEL docker compose -f docker-compose-vault.yml ps --services --all)" if [ "$running" != "$services" ]; then if [ "$running" != "$services" ]; then echo "Following Vault services are not running:" echo "Following Vault services are not running:" # Bash specific # Bash specific Loading @@ -14,8 +15,8 @@ else echo "All Vault services are running" echo "All Vault services are running" fi fi running="$(docker compose -f docker-compose-capif.yml ps --services --all --filter "status=running")" running="$(LOG_LEVEL=$LOG_LEVEL 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="$(LOG_LEVEL=$LOG_LEVEL docker compose -f docker-compose-capif.yml ps --services --all)" if [ "$running" != "$services" ]; then if [ "$running" != "$services" ]; then echo "Following CCF services are not running:" echo "Following CCF services are not running:" # Bash specific # Bash specific Loading @@ -25,8 +26,8 @@ else echo "All CCF services are running" echo "All CCF services are running" fi fi running="$(docker compose -f docker-compose-register.yml ps --services --all --filter "status=running")" running="$(LOG_LEVEL=$LOG_LEVEL docker compose -f docker-compose-register.yml ps --services --all --filter "status=running")" services="$(docker compose -f docker-compose-register.yml ps --services --all)" services="$(LOG_LEVEL=$LOG_LEVEL docker compose -f docker-compose-register.yml ps --services --all)" if [ "$running" != "$services" ]; then if [ "$running" != "$services" ]; then echo "Following Register services are not running:" echo "Following Register services are not running:" # Bash specific # Bash specific Loading Loading
services/check_services_are_running.sh +7 −6 Original line number Original line Diff line number Diff line Loading @@ -2,9 +2,10 @@ export CAPIF_PRIV_KEY= export CAPIF_PRIV_KEY= export CAPIF_PRIV_KEY_BASE_64= export CAPIF_PRIV_KEY_BASE_64= export MONITORING= export MONITORING= export LOG_LEVEL=DEBUG running="$(docker compose -f docker-compose-vault.yml ps --services --all --filter "status=running")" running="$(LOG_LEVEL=$LOG_LEVEL docker compose -f docker-compose-vault.yml ps --services --all --filter "status=running")" services="$(docker compose -f docker-compose-vault.yml ps --services --all)" services="$(LOG_LEVEL=$LOG_LEVEL docker compose -f docker-compose-vault.yml ps --services --all)" if [ "$running" != "$services" ]; then if [ "$running" != "$services" ]; then echo "Following Vault services are not running:" echo "Following Vault services are not running:" # Bash specific # Bash specific Loading @@ -14,8 +15,8 @@ else echo "All Vault services are running" echo "All Vault services are running" fi fi running="$(docker compose -f docker-compose-capif.yml ps --services --all --filter "status=running")" running="$(LOG_LEVEL=$LOG_LEVEL 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="$(LOG_LEVEL=$LOG_LEVEL docker compose -f docker-compose-capif.yml ps --services --all)" if [ "$running" != "$services" ]; then if [ "$running" != "$services" ]; then echo "Following CCF services are not running:" echo "Following CCF services are not running:" # Bash specific # Bash specific Loading @@ -25,8 +26,8 @@ else echo "All CCF services are running" echo "All CCF services are running" fi fi running="$(docker compose -f docker-compose-register.yml ps --services --all --filter "status=running")" running="$(LOG_LEVEL=$LOG_LEVEL docker compose -f docker-compose-register.yml ps --services --all --filter "status=running")" services="$(docker compose -f docker-compose-register.yml ps --services --all)" services="$(LOG_LEVEL=$LOG_LEVEL docker compose -f docker-compose-register.yml ps --services --all)" if [ "$running" != "$services" ]; then if [ "$running" != "$services" ]; then echo "Following Register services are not running:" echo "Following Register services are not running:" # Bash specific # Bash specific Loading