diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-05-19 23:39:10 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-05-19 23:39:10 +0200 |
commit | 389f7be86f07a08a6282e02913a676aeef328db5 (patch) | |
tree | b0548116d5d14fd62c1295d408d5e7086af9b9dd /roles/storage/zfs/syncoid/templates/pull.timer.j2 | |
parent | syncoid: autosuspend cleanup and cooldown (diff) |
syncoid: run vs pull and fix autosuspend timer
Diffstat (limited to 'roles/storage/zfs/syncoid/templates/pull.timer.j2')
-rw-r--r-- | roles/storage/zfs/syncoid/templates/pull.timer.j2 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/storage/zfs/syncoid/templates/pull.timer.j2 b/roles/storage/zfs/syncoid/templates/pull.timer.j2 new file mode 100644 index 00000000..cc252854 --- /dev/null +++ b/roles/storage/zfs/syncoid/templates/pull.timer.j2 @@ -0,0 +1,9 @@ +[Unit] +Description=syncoid-based backup for {{ item.key }} + +[Timer] +OnCalendar={{ item.value.periodic.schedule }} +WakeSystem={{ zfs_syncoid_autosuspend | ternary('true', 'false') }} + +[Install] +WantedBy=timers.target |