We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 476e046 commit fdf3490Copy full SHA for fdf3490
root/etc/s6-overlay/s6-rc.d/init-bookstack-config/run
@@ -43,10 +43,10 @@ echo "Waiting for DB to be available"
43
END=$((SECONDS + 30))
44
while [[ ${SECONDS} -lt ${END} ]] && [[ -n "${DB_HOST+x}" ]]; do
45
if [[ $(/usr/bin/nc -w1 "${DB_HOST}" "${DB_PORT}" | tr -d '\0') ]]; then
46
- if [[ ! -f /run/dbwait.lock ]]; then
+ if [[ ! -f /tmp/dbwait.lock ]]; then
47
sleep 5
48
fi
49
- touch /run/dbwait.lock
+ touch /tmp/dbwait.lock
50
break
51
else
52
sleep 1
0 commit comments