mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Implemented role native-pull-remote-backups
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=docker volume update
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=hosts="{{pull_remote_backups_hosts}}";for host in $hosts; do /usr/bin/bash /usr/local/bin/pull-remote-backup/pull-remote-backup.sh $host; done;
|
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=pulls a remote backup
|
||||
|
||||
[Timer]
|
||||
OnCalendar=22:00
|
||||
RandomizedDelaySec=1h
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Reference in New Issue
Block a user