2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2025-01-19 21:41:14 +01:00

Fixing cron.sh

This commit is contained in:
Philipp Holzer 2018-05-22 21:47:37 +02:00
parent c591457367
commit 392c896a4e
No known key found for this signature in database
GPG key ID: 58160D7D6AF942B6
7 changed files with 10 additions and 28 deletions

View file

@ -31,7 +31,7 @@ The apache image contains a webserver and exposes port 80.
To start the container type:
```console
$ docker run -d -p 8080:80 --link some-mysql:mysql friendica
$ docker run -d -p 8080:80 --link some-mysql:mysql friendica/server
```
Now you can access the Friendica installation wizard at http://localhost:8080/ from your host system.

View file

@ -1,14 +1,11 @@
#!/bin/sh
set -eu
trap "break;exit" SIGHUP SIGINT SIGTERM
trap "break;exit" HUP INT TERM
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

View file

@ -1,14 +1,11 @@
#!/bin/sh
set -eu
trap "break;exit" SIGHUP SIGINT SIGTERM
trap "break;exit" HUP INT TERM
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

View file

@ -1,14 +1,11 @@
#!/bin/sh
set -eu
trap "break;exit" SIGHUP SIGINT SIGTERM
trap "break;exit" HUP INT TERM
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

View file

@ -1,14 +1,11 @@
#!/bin/sh
set -eu
trap "break;exit" SIGHUP SIGINT SIGTERM
trap "break;exit" HUP INT TERM
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
php -f /var/www/html/scripts/worker.php
sleep 10m
done

View file

@ -1,14 +1,11 @@
#!/bin/sh
set -eu
trap "break;exit" SIGHUP SIGINT SIGTERM
trap "break;exit" HUP INT TERM
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
php -f /var/www/html/scripts/worker.php
sleep 10m
done

View file

@ -1,14 +1,11 @@
#!/bin/sh
set -eu
trap "break;exit" SIGHUP SIGINT SIGTERM
trap "break;exit" HUP INT TERM
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
php -f /var/www/html/scripts/worker.php
sleep 10m
done