mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 07:10:12 +01:00
Add the obsidian link support to config also. Fix poll-for-db.
This commit is contained in:
parent
4c031c7699
commit
7a9dd6cd6f
3 changed files with 5 additions and 3 deletions
|
|
@ -1,10 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "==> Polling DB…"
|
||||
|
||||
appdir=$(cd $(dirname "$0")/.. && pwd)
|
||||
[ -f /etc/app-env ] || exec "$appdir/script/docker-environment" $0 $@
|
||||
|
||||
for i in {1..60}; do
|
||||
curl -sf telnet://db:3306 >/dev/null && exit
|
||||
nc -z -w5 db 3306 && exit
|
||||
sleep 1
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue