mirror of
https://github.com/friendica/docker
synced 2025-01-19 17:37:00 +01:00
Fixing cron.sh
This commit is contained in:
parent
c591457367
commit
392c896a4e
7 changed files with 10 additions and 28 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in a new issue