mirror of
https://github.com/friendica/docker
synced 2024-11-14 14:03:43 +01:00
Philipp Holzer
b46fae9173
- Using 2018.05-rc as stable/productionin - Using "update.sh" for creating the environments (single point of change)
11 lines
184 B
Bash
11 lines
184 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/%%DIR%%/worker.php
|
|
sleep 10m
|
|
done |