mirror of
https://github.com/friendica/docker
synced 2025-03-26 08:26:27 +01:00
- directory for worker.php changed to `bin/` - `composer install` isn't necessary for stable images - copy_sources should work for future *-rc branches too
11 lines
No EOL
180 B
Bash
11 lines
No EOL
180 B
Bash
#!/bin/sh
|
|
trap "break;exit" HUP INT TERM
|
|
|
|
while [ ! -f /var/www/html/.htconfig.php ]; do
|
|
sleep 1
|
|
done
|
|
|
|
while true; do
|
|
php -f /var/www/html/bin/worker.php
|
|
sleep 10m
|
|
done |