2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2024-11-15 10:39:27 +01:00
docker/2019.09-dev/fpm/cron.sh
Philipp Holzer 43eefc24ff
Fixings for offical-images
- Fixed *.sh mode
- Removed label
- Fixed RUN settings
- Removed superfluous debMultiarch
2019-08-25 23:00:16 +02:00

12 lines
309 B
Bash
Executable file

#!/bin/sh
trap "break;exit" HUP INT TERM
while [ ! -f /var/www/html/config/local.ini.php ] && [ ! -f /var/www/html/config/local.config.php ]; do
sleep 1
done
# 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