9 lines
160 B
Bash
9 lines
160 B
Bash
|
#!/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
|