diff --git a/mariadb/etc/init.d/mariadb b/mariadb/etc/init.d/mariadb index f3d58d9..5ae6607 100755 --- a/mariadb/etc/init.d/mariadb +++ b/mariadb/etc/init.d/mariadb @@ -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() { diff --git a/postgres/etc/init.d/postgres b/postgres/etc/init.d/postgres index 2d8dcc3..a017c75 100755 --- a/postgres/etc/init.d/postgres +++ b/postgres/etc/init.d/postgres @@ -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() { diff --git a/rabbitmq/etc/init.d/rabbitmq b/rabbitmq/etc/init.d/rabbitmq index 2e26eb7..2e54e58 100755 --- a/rabbitmq/etc/init.d/rabbitmq +++ b/rabbitmq/etc/init.d/rabbitmq @@ -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() {