mirror of
https://github.com/replicatedhq/ttl.sh.git
synced 2026-05-06 00:16:37 +00:00
This reverts commit c0fec69508.
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Script started"
|
||||
|
||||
while true; do
|
||||
sleep 72h # every 3 days
|
||||
echo "Starting garbage collection..."
|
||||
registry garbage-collect /etc/docker/registry/config.yml || true
|
||||
echo "Garbage collection finished"
|
||||
sleep 72h # every 3 days
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user