2022-10-02 14:56:43 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Podman rsync-certificates.service
|
|
|
|
Documentation=man:rsync(1)
|
2022-10-30 22:09:01 +01:00
|
|
|
OnFailure=status-mail@%n.service
|
2022-10-02 14:56:43 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2023-02-12 19:37:33 +01:00
|
|
|
ExecStart=/usr/bin/rsync -e 'ssh -i .ssh/{{ services_host_services.lrproxy.rproxy_host }}-{{ services_host_services.lrproxy.rproxy_user }} -l {{ services_host_services.lrproxy.rproxy_user }}' \
|
2022-11-02 20:03:12 +01:00
|
|
|
-avz \
|
|
|
|
--delete \
|
2023-02-12 19:37:33 +01:00
|
|
|
{{ hostvars[services_host_services.lrproxy.rproxy_host].vpn_wireguard_address }}:{{ hostvars[services_host_services.lrproxy.rproxy_host].services_data_directory }}/{{ services_host_services.lrproxy.rproxy_user }}/etc-letsencrypt/ \
|
|
|
|
{{ services_data_directory }}/pod-lrproxy/etc-letsencrypt
|