Skip to content

Commit 49077af

Browse files
committed
add a short sleep to the manage script to see if that helps with startup issues on the server
1 parent 530e93d commit 49077af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

etc/manage-and-run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/bash
22
set -e
33

4+
# Avoid database not being ready
5+
sleep 3
6+
47
# Collect static files
58
echo "OPTIMAP ENTRYPOINT | Collect static files"
69
python manage.py collectstatic --noinput

0 commit comments

Comments
 (0)