2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2025-05-08 20:33:16 +02: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: To start the container type:
```console ```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. Now you can access the Friendica installation wizard at http://localhost:8080/ from your host system.

View file

@ -1,14 +1,11 @@
#!/bin/sh #!/bin/sh
set -eu trap "break;exit" HUP INT TERM
trap "break;exit" SIGHUP SIGINT SIGTERM
while [ ! -f /var/www/html/.htconfig.php ]; do while [ ! -f /var/www/html/.htconfig.php ]; do
sleep 1 sleep 1
done done
while true; do while true; do
cd /var/www/html
php -f /var/www/html/bin/worker.php php -f /var/www/html/bin/worker.php
sleep 10m sleep 10m
done done

View file

@ -1,14 +1,11 @@
#!/bin/sh #!/bin/sh
set -eu trap "break;exit" HUP INT TERM
trap "break;exit" SIGHUP SIGINT SIGTERM
while [ ! -f /var/www/html/.htconfig.php ]; do while [ ! -f /var/www/html/.htconfig.php ]; do
sleep 1 sleep 1
done done
while true; do while true; do
cd /var/www/html
php -f /var/www/html/bin/worker.php php -f /var/www/html/bin/worker.php
sleep 10m sleep 10m
done done

View file

@ -1,14 +1,11 @@
#!/bin/sh #!/bin/sh
set -eu trap "break;exit" HUP INT TERM
trap "break;exit" SIGHUP SIGINT SIGTERM
while [ ! -f /var/www/html/.htconfig.php ]; do while [ ! -f /var/www/html/.htconfig.php ]; do
sleep 1 sleep 1
done done
while true; do while true; do
cd /var/www/html
php -f /var/www/html/bin/worker.php php -f /var/www/html/bin/worker.php
sleep 10m sleep 10m
done done

View file

@ -1,14 +1,11 @@
#!/bin/sh #!/bin/sh
set -eu trap "break;exit" HUP INT TERM
trap "break;exit" SIGHUP SIGINT SIGTERM
while [ ! -f /var/www/html/.htconfig.php ]; do while [ ! -f /var/www/html/.htconfig.php ]; do
sleep 1 sleep 1
done done
while true; do while true; do
cd /var/www/html php -f /var/www/html/scripts/worker.php
php -f /var/www/html/bin/worker.php
sleep 10m sleep 10m
done done

View file

@ -1,14 +1,11 @@
#!/bin/sh #!/bin/sh
set -eu trap "break;exit" HUP INT TERM
trap "break;exit" SIGHUP SIGINT SIGTERM
while [ ! -f /var/www/html/.htconfig.php ]; do while [ ! -f /var/www/html/.htconfig.php ]; do
sleep 1 sleep 1
done done
while true; do while true; do
cd /var/www/html php -f /var/www/html/scripts/worker.php
php -f /var/www/html/bin/worker.php
sleep 10m sleep 10m
done done

View file

@ -1,14 +1,11 @@
#!/bin/sh #!/bin/sh
set -eu trap "break;exit" HUP INT TERM
trap "break;exit" SIGHUP SIGINT SIGTERM
while [ ! -f /var/www/html/.htconfig.php ]; do while [ ! -f /var/www/html/.htconfig.php ]; do
sleep 1 sleep 1
done done
while true; do while true; do
cd /var/www/html php -f /var/www/html/scripts/worker.php
php -f /var/www/html/bin/worker.php
sleep 10m sleep 10m
done done