Skip to content

Commit 8db861d

Browse files
committedFeb 6, 2018
Use cron.sh for the cron container
1 parent 71380e0 commit 8db861d

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed
 

‎stack.yml

+1-14
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,7 @@ services:
3131
restart: always
3232
volumes:
3333
- nextcloud:/var/www/html
34-
user: www-data
35-
entrypoint: |
36-
bash -c 'bash -s <<EOF
37-
trap "break;exit" SIGHUP SIGINT SIGTERM
38-
39-
while [ ! -f /var/www/html/config/config.php ]; do
40-
sleep 1
41-
done
42-
43-
while true; do
44-
php -f /var/www/html/cron.php
45-
sleep 15m
46-
done
47-
EOF'
34+
entrypoint: /cron.sh
4835
depends_on:
4936
- db
5037

0 commit comments

Comments
 (0)
Please sign in to comment.