diff --git a/registry/entrypoint.sh b/registry/entrypoint.sh index 5824c50..584b1a8 100755 --- a/registry/entrypoint.sh +++ b/registry/entrypoint.sh @@ -16,8 +16,8 @@ else fi # Run garbage collection job in background -echo "0 * * * * /garbage-collect.sh >> /proc/1/fd/1 2>&1" > /etc/crontabs/root -crond +echo "* * * * * /garbage-collect.sh >> /proc/1/fd/1 2>&1" > /etc/crontabs/root +crond -l 2 case "$1" in *.yaml|*.yml) set -- registry serve "$@" ;;