mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 12:41:05 +01:00
optimized configuration of free disc space and added to calendar
This commit is contained in:
parent
f0d067e957
commit
fbef73b3d4
@ -10,11 +10,12 @@ on_calendar_disc_space_check: "*-*-* 06,12,18,00:00:00"
|
|||||||
on_calendar_docker_health_check: "*-*-* 09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,00,01,02:00:00"
|
on_calendar_docker_health_check: "*-*-* 09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,00,01,02:00:00"
|
||||||
|
|
||||||
on_calendar_backups_cleanup: "*-*-* 06,12,18,00:30:00"
|
on_calendar_backups_cleanup: "*-*-* 06,12,18,00:30:00"
|
||||||
|
on_calendar_free_disc_space: "*-*-* 07,13,19,01:30:00"
|
||||||
on_calendar_docker_volume_backup: "*-*-* 03:30:00"
|
on_calendar_docker_volume_backup: "*-*-* 03:30:00"
|
||||||
on_calendar_docker_compose_restart_unhealthy: "*-*-* 09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,00,01:30:00"
|
on_calendar_docker_compose_restart_unhealthy: "*-*-* 09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,00,01:30:00"
|
||||||
on_calendar_pull_primary_backups: "*-*-* 21:30:00"
|
on_calendar_pull_primary_backups: "*-*-* 21:30:00"
|
||||||
on_calendar_renew_lets_encrypt_certificates: "*-*-* 12,00:30:00"
|
on_calendar_renew_lets_encrypt_certificates: "*-*-* 12,00:30:00"
|
||||||
on_calendar_deploy_mailu_certificates: "*-*-* 12,00:50:00"
|
on_calendar_deploy_mailu_certificates: "*-*-* 13,01:30:00"
|
||||||
|
|
||||||
# Space Variables
|
# Space Variables
|
||||||
size_percent_maximum_backup: 75
|
size_percent_maximum_backup: 75
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
- system-update
|
- system-update
|
||||||
- native-journalctl
|
- native-journalctl
|
||||||
- native-disc-space-check
|
- native-disc-space-check
|
||||||
|
- native-free-disc-space
|
||||||
#- native-hostname
|
#- native-hostname
|
||||||
- name: setup btrfs health check
|
- name: setup btrfs health check
|
||||||
hosts: btrfs_health_check_hosts
|
hosts: btrfs_health_check_hosts
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Description=starts free-disc-space.service
|
Description=starts free-disc-space.service
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnCalendar={{on_calendar_disc_space_check}}
|
OnCalendar={{on_calendar_free_disc_space}}
|
||||||
RandomizedDelaySec={{randomized_delay_sec}}
|
RandomizedDelaySec={{randomized_delay_sec}}
|
||||||
Persistent=true
|
Persistent=true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user