From 2d5e65787e61382ab7ee46ffeafe0a02509e6a1f Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Fri, 14 Aug 2020 23:28:39 +0200 Subject: [PATCH] just add some sleep just in case --- apps/tmbitwarden.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/tmbitwarden.sh b/apps/tmbitwarden.sh index 7b7c4bf6..bc83f3df 100644 --- a/apps/tmbitwarden.sh +++ b/apps/tmbitwarden.sh @@ -166,6 +166,8 @@ sed -i 's|http://|https://|g' "$BITWARDEN_HOME"/bwdata/env/global.override.env check_command sudo -u "$BITWARDEN_USER" ./bitwarden.sh rebuild print_text_in_color "$ICyan" "Starting Bitwarden for the first time, please be patient..." start_if_stopped bitwarden +# We dont' need this for Bitwarden to start, but it's a great way to find out if the DB is online or not. +countdown "Waiting for the DB to come online..." 5 check_command sudo -u "$BITWARDEN_USER" ./bitwarden.sh updatedb # Produce reverse-proxy config and get lets-encrypt certificate