0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-25 04:40:55 +02:00

Add cron.sh

This commit is contained in:
Tilo Spannagel 2018-01-30 13:11:04 +01:00
parent 74c68d908b
commit 3747025dd6
No known key found for this signature in database
GPG key ID: B89F1626A58E1429
15 changed files with 39 additions and 7 deletions

View file

@ -88,7 +88,7 @@ RUN set -ex; \
mkdir -p /usr/src/nextcloud/custom_apps; \
chmod +x /usr/src/nextcloud/occ
COPY docker-entrypoint.sh /entrypoint.sh
COPY *.sh /
COPY config/* /usr/src/nextcloud/config/
ENTRYPOINT ["/entrypoint.sh"]

6
12.0/apache/cron.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
set -e
mkdir -p /var/spool/cron/crontabs
exec busybox crond -f -l 0 -L /dev/stdout