summaryrefslogtreecommitdiffstats
path: root/stack.yml
diff options
context:
space:
mode:
Diffstat (limited to 'stack.yml')
-rw-r--r--stack.yml15
1 files changed, 1 insertions, 14 deletions
diff --git a/stack.yml b/stack.yml
index 6fe1e2c4..631ab045 100644
--- a/stack.yml
+++ b/stack.yml
@@ -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