Increase timeout of service start wait
This commit is contained in:
parent
e3ec786c41
commit
a8c6339bfc
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user