summaryrefslogtreecommitdiff
path: root/roles/storage/zfs/syncoid/templates/pull.timer.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-01-21 23:03:00 +0100
committerChristian Pointner <equinox@spreadspace.org>2023-01-21 23:03:00 +0100
commitfacdd63fe173b51c6d9de29ccc2167b0d7a45b6f (patch)
tree669c79d308749774da206c85acf8883568f0e8d5 /roles/storage/zfs/syncoid/templates/pull.timer.j2
parentadd 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.j22
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