diff options
author | Christian Pointner <equinox@spreadspace.org> | 2023-01-21 23:03:00 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2023-01-21 23:03:00 +0100 |
commit | facdd63fe173b51c6d9de29ccc2167b0d7a45b6f (patch) | |
tree | 669c79d308749774da206c85acf8883568f0e8d5 /roles/storage/zfs/syncoid/templates/pull.timer.j2 | |
parent | add wikijs instance: wiki.davste.at (diff) |
syncoid/autosuspend: implement disk spindown mode
Diffstat (limited to 'roles/storage/zfs/syncoid/templates/pull.timer.j2')
-rw-r--r-- | roles/storage/zfs/syncoid/templates/pull.timer.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/storage/zfs/syncoid/templates/pull.timer.j2 b/roles/storage/zfs/syncoid/templates/pull.timer.j2 index bcbb1a28..c43c5b28 100644 --- a/roles/storage/zfs/syncoid/templates/pull.timer.j2 +++ b/roles/storage/zfs/syncoid/templates/pull.timer.j2 @@ -4,7 +4,7 @@ Description=syncoid-based backup for {{ item.key }} [Timer] OnCalendar={{ item.value.periodic.schedule }} AccuracySec=10s -WakeSystem={{ zfs_syncoid_autosuspend | ternary('true', 'false') }} +WakeSystem={{ (zfs_syncoid_autosuspend is defined and zfs_syncoid_autosuspend == 'system') | ternary('true', 'false') }} [Install] WantedBy=timers.target |