mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Fix wait_for_service not working/hanging
This commit is contained in:
parent
c6c6fb708c
commit
96b3fd726a
|
@ -169,7 +169,7 @@ function container_has_service_running() {
|
|||
function wait_for_service() {
|
||||
containerName="$1"
|
||||
serviceName="$2"
|
||||
repeat_in_container_until_success_or_timeout 600 "$containerName" \
|
||||
repeat_until_success_or_timeout --fatal-test "container_is_running $containerName" 60 \
|
||||
container_has_service_running "$containerName" "$serviceName"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue