2018-05-18 21:20:22 +02:00
|
|
|
#!/bin/sh
|
2018-05-22 21:47:37 +02:00
|
|
|
trap "break;exit" HUP INT TERM
|
2018-05-21 21:32:26 +02:00
|
|
|
|
2019-01-04 01:29:18 +01:00
|
|
|
while [ ! -f /var/www/html/config/local.ini.php ] && [ ! -f /var/www/html/config/local.config.php ]; do
|
2018-05-21 21:32:26 +02:00
|
|
|
sleep 1
|
|
|
|
done
|
|
|
|
|
2018-09-09 22:22:24 +02:00
|
|
|
# TODO let the database and the autoinstall time to complete - not winning a beauty contest
|
|
|
|
sleep 15s
|
|
|
|
|
|
|
|
php /var/www/html/bin/daemon.php -f start
|