mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-26 06:31:04 +01:00
solved bugs
This commit is contained in:
parent
8327323a45
commit
4b0ac2672b
@ -16,7 +16,7 @@ on_calendar_docker_compose_restart_unhealthy: "*-*-* 09,10,11,12,13,14,15,16,17,
|
|||||||
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: "*-*-* 13,01:30:00"
|
on_calendar_deploy_mailu_certificates: "*-*-* 13,01:30:00"
|
||||||
on_calendar_backup_to_swappable: "*-*-* 09,12,15,18,21,24,03,06:30:00"
|
on_calendar_backup_to_swappable: "hourly"
|
||||||
|
|
||||||
# Space Variables
|
# Space Variables
|
||||||
size_percent_maximum_backup: 75
|
size_percent_maximum_backup: 75
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=backing up data
|
Description=backing up data
|
||||||
OnFailure=systemd-email@%n.service
|
OnFailure=systemd-email@%n.service
|
||||||
|
ConditionPathExists={{backup_to_swappable_destination_path}}
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/bash {{backup_to_swappable_script_path}}
|
ExecStart=/usr/bin/bash {{backup_to_swappable_script_path}} {{backup_to_swappable_destination_path}} {{backup_to_swappable_source_path}}
|
@ -1,3 +1,2 @@
|
|||||||
backup_to_swappable_folder: "{{path_administrator_scripts}}backup-to-swappable/"
|
backup_to_swappable_folder: "{{path_administrator_scripts}}backup-to-swappable/"
|
||||||
backup_to_swappable_destination_path: "{{backup_to_swappable_destination_path}}backup-to-swappable/"
|
|
||||||
backup_to_swappable_script_path: "{{backup_to_swappable_folder}}backup-to-swappable.sh"
|
backup_to_swappable_script_path: "{{backup_to_swappable_folder}}backup-to-swappable.sh"
|
Loading…
Reference in New Issue
Block a user