Skip to content

Commit

Permalink
debug image garbage collection (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh authored Feb 5, 2024
1 parent 3b6e259 commit 2cc0391
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions registry/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@" ;;
Expand Down

0 comments on commit 2cc0391

Please sign in to comment.