pull or test

This commit is contained in:
Elizabeth Hunt 2024-05-06 17:56:47 -04:00
parent 45a6b7f0c9
commit 7a5f565088
3 changed files with 5 additions and 5 deletions

View File

@ -18,6 +18,7 @@
borg_group: "{{ borg_my_group }}"
borgmatic_timer: cron
borg_ssh_command: "ssh -o StrictHostKeyChecking=no -i {{ borg_ssh_key }}"
borgmatic_relocated_repo_access_is_ok: true
borg_source_directories:
"{{ base_files + (extra_files[inventory_hostname] | default([])) }}"
borg_retention_policy:

View File

@ -1,11 +1,10 @@
---
dns_servers:
- 1.1.1.1
- 1.0.0.1
- 10.155.0.1
dns_domains:
- ["hatecomputers.club"]
dns_dnssec: true
- hatecomputers.club
dns_dnssec: false
dns_stub_listener: false
rfc1918_networks:

View File

@ -6,7 +6,7 @@ After=docker.service
[Service]
RemainAfterExit=true
WorkingDirectory=/etc/docker/compose/%i
ExecStartPre=/usr/bin/docker compose pull
ExecStartPre=/bin/bash -c "/usr/bin/docker compose pull || /bin/test"
ExecStart=/usr/bin/docker compose up --detach --remove-orphans
ExecStop=/usr/bin/docker compose down
Restart=always