nuth.ch/.docker/nuth.sh

9 lines
160 B
Bash
Raw Normal View History

2019-04-10 10:41:33 +00:00
#!/bin/bash
until nc -z db 3306
do
>&2 echo "mysql is unavailable - waiting"
sleep 1
done
sudo -u www-data ../app/scripts/install.sh
apache2-foreground