Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <github@hanssonit.se>2020-08-15 00:28:39 +0300
committerGitHub <noreply@github.com>2020-08-15 00:28:39 +0300
commit2d5e65787e61382ab7ee46ffeafe0a02509e6a1f (patch)
tree00903f710bc6944cf0bdd582df2a16758f4ace2e /apps/tmbitwarden.sh
parent433671bea5bfac8ea473017401e17bee61b7a197 (diff)
just add some sleep just in case
Diffstat (limited to 'apps/tmbitwarden.sh')
-rw-r--r--apps/tmbitwarden.sh2
1 files changed, 2 insertions, 0 deletions
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