mirror of
https://github.com/friendica/docker
synced 2025-01-09 07:55:38 +01:00
Philipp Holzer
1362cc34ca
- restored script `friendica` for update & wrapper purpose - fixed `cron.sh`
14 lines
No EOL
219 B
Bash
14 lines
No EOL
219 B
Bash
#!/bin/sh
|
|
set -eu
|
|
|
|
trap "break;exit" SIGHUP SIGINT SIGTERM
|
|
|
|
while [ ! -f /var/www/html/.htconfig.php ]; do
|
|
sleep 1
|
|
done
|
|
|
|
while true; do
|
|
cd /var/www/html
|
|
php -f /var/www/html/bin/worker.php
|
|
sleep 10m
|
|
done |