-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clean registry when disk util over 40 percent
- Loading branch information
Showing
3 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
images/fcos-bastion-image/root/usr/lib/systemd/system/clean-registries.timer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
[Unit] | ||
Description=Timer to cleanup mirrored registries caches on boot | ||
Description=Timer to cleanup mirrored registries caches on boot and 6 hours once | ||
[Timer] | ||
OnBootSec=5min | ||
OnCalendar=*-*-* *:00:00 | ||
OnCalendar=*-*-* */6:00:00 | ||
|
||
[Install] | ||
WantedBy=timers.target |