From 56d5311e5ea7707035c9d643e0e6360da9090773 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 28 Jun 2023 18:00:53 +0000 Subject: [PATCH] Fixed timeouts --- lib/collabora.sh | 2 +- lib/mail.sh | 2 +- lib/postgresql.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/collabora.sh b/lib/collabora.sh index db4a34f..959a53a 100644 --- a/lib/collabora.sh +++ b/lib/collabora.sh @@ -65,7 +65,7 @@ echo -ne "done." } start_collabora() { # Start service with command to make sure it's up before proceeding - start_service "collabora" "nc -z 172.99.0.17 9980 &> /dev/null" "7" + start_service "collabora" "nc -z 172.99.0.17 9980 &> /dev/null" "15" kill -9 $SPINPID &> /dev/null echo -ne "done." diff --git a/lib/mail.sh b/lib/mail.sh index 6525879..26555be 100644 --- a/lib/mail.sh +++ b/lib/mail.sh @@ -154,7 +154,7 @@ EOF } start_mail() { # Start service with command to make sure it's up before proceeding - start_service "mail" "nc -z 172.99.0.16 25 &> /dev/null" "9" + start_service "mail" "nc -z 172.99.0.16 25 &> /dev/null" "15" # Generate the DKIM DNS key and setup docker exec mail setup config dkim diff --git a/lib/postgresql.sh b/lib/postgresql.sh index 3aa4c79..07bdf0a 100644 --- a/lib/postgresql.sh +++ b/lib/postgresql.sh @@ -103,7 +103,7 @@ echo -ne "done." } start_postgresql() { # Start service with command to make sure it's up before proceeding - start_service "postgresql" "nc -z 172.99.0.14 5432 &> /dev/null" "8" + start_service "postgresql" "nc -z 172.99.0.14 5432 &> /dev/null" "18" # Tune PostgreSQL sed -i "s#shared_buffers =.*#shared_buffers = 800MB#g" /federated/apps/postgresql/data/var/lib/postgresql/data/postgresql.conf