mirror of
https://github.com/nextcloud/docker.git
synced 2025-06-16 16:14:47 +02:00
starting cron via entrypoint.sh and env-vars
Signed-off-by: akop <akop@ppi.de>
This commit is contained in:
parent
1e2c9961f7
commit
bc550eed2e
1 changed files with 5 additions and 0 deletions
|
@ -185,4 +185,9 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if [ "${START_CRON}" = "true" ]; then
|
||||||
|
sh /cron.sh &
|
||||||
|
fi
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue