diff options
author | Tilo Spannagel <development@tilosp.de> | 2018-02-06 20:40:49 +0100 |
---|---|---|
committer | Tilo Spannagel <development@tilosp.de> | 2018-02-06 20:40:49 +0100 |
commit | 8db861d67f257a3e9ac1790ea06d4e2a7a193a6c (patch) | |
tree | 4ffe22d74ed8e063601df78f58dbf9d320ba990b /stack.yml | |
parent | 71380e0a925d35e91102747495e3b5d52f0b66db (diff) |
Use cron.sh for the cron container
Diffstat (limited to 'stack.yml')
-rw-r--r-- | stack.yml | 15 |
1 files changed, 1 insertions, 14 deletions
@@ -31,20 +31,7 @@ services: restart: always volumes: - nextcloud:/var/www/html - user: www-data - entrypoint: | - bash -c 'bash -s <<EOF - trap "break;exit" SIGHUP SIGINT SIGTERM - - while [ ! -f /var/www/html/config/config.php ]; do - sleep 1 - done - - while true; do - php -f /var/www/html/cron.php - sleep 15m - done - EOF' + entrypoint: /cron.sh depends_on: - db |