mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
15 lines
215 B
Bash
Executable File
15 lines
215 B
Bash
Executable File
#!/bin/bash
|
|
|
|
service_count=`docker ps -a | grep "Up " | wc -l`
|
|
|
|
if [ "${service_count}" -eq "3" ]
|
|
then
|
|
echo "Service are up and running."
|
|
exit 0
|
|
else
|
|
echo "Some services exited..."
|
|
docker ps -a
|
|
exit 1
|
|
fi
|
|
|