Increase timeout of service start wait

This commit is contained in:
Disassembler 2018-07-16 09:33:08 +02:00
parent e3ec786c41
commit a8c6339bfc
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ start() {
}
start_post() {
timeout -t 3 docker exec mariadb sh -c 'until [ -e /run/mysqld/mysqld.sock ]; do usleep 50000; done'
timeout -t 60 docker exec mariadb sh -c 'until [ -e /run/mysqld/mysqld.sock ]; do usleep 50000; done'
}
stop() {

View File

@ -15,7 +15,7 @@ start() {
}
start_post() {
timeout -t 3 docker exec postgres sh -c 'until [ -e /var/run/postgresql/.s.PGSQL.5432 ]; do usleep 50000; done'
timeout -t 60 docker exec postgres sh -c 'until [ -e /var/run/postgresql/.s.PGSQL.5432 ]; do usleep 50000; done'
}
stop() {

View File

@ -15,7 +15,7 @@ start() {
}
start_post() {
timeout -t 3 docker exec rabbitmq sh -c 'until grep -q "Server startup complete" /var/log/rabbitmq/rabbit@rabbitmq.log 2>/dev/null ; do usleep 50000; done'
timeout -t 60 docker exec rabbitmq sh -c 'until grep -q "Server startup complete" /var/log/rabbitmq/rabbit@rabbitmq.log 2>/dev/null ; do usleep 50000; done'
}
stop() {