summaryrefslogtreecommitdiff
path: root/roles/storage/zfs/syncoid/templates/pull.timer.j2
diff options
context:
space:
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