Commit 1f5c57ab authored by Daniel Schreiber's avatar Daniel Schreiber

warten auf Postgresql

parent 701efcdd
Pipeline #34410 passed with stage
in 31 seconds
...@@ -20,6 +20,8 @@ EOF ...@@ -20,6 +20,8 @@ EOF
exit exit
fi fi
# wegen Datenbank ein wenig warten
sleep 5
chown -R www-data:www-data "${FRMS_DIR}/logs" chown -R www-data:www-data "${FRMS_DIR}/logs"
su www-data -s /bin/bash -c "${FRMS_DIR}/env/bin/python ${FRMS_DIR}/app/ migrate" su www-data -s /bin/bash -c "${FRMS_DIR}/env/bin/python ${FRMS_DIR}/app/ migrate"
su www-data -s /bin/bash -c "${FRMS_DIR}/env/bin/python ${FRMS_DIR}/app/ collectstatic --noinput" su www-data -s /bin/bash -c "${FRMS_DIR}/env/bin/python ${FRMS_DIR}/app/ collectstatic --noinput"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment