Update docker_check_service.sh

This commit is contained in:
skiffer-git 2023-07-02 22:14:20 +08:00 committed by GitHub
parent 0fffa0c43b
commit c6611a6679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,14 @@
#!/usr/bin/env bash
echo "docker-compose ps..........................."
cd ..
docker-compose ps
if command -v docker-compose &> /dev/null
then
docker-compose ps
else
docker compose ps
fi
cd scripts