From 662b94aeadc8ba90b9a1729074b08cd7b544d887 Mon Sep 17 00:00:00 2001 From: "juvenal.diaz" Date: Thu, 5 Nov 2026 08:25:43 -0600 Subject: [PATCH] Avoid catch-up power starts outside lab window --- bootstrap/edge/main.tf | 2 -- docs/app-ops.md | 3 ++- docs/templates/app-ops.md.tmpl | 3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bootstrap/edge/main.tf b/bootstrap/edge/main.tf index c050ccb..d3c76d3 100644 --- a/bootstrap/edge/main.tf +++ b/bootstrap/edge/main.tf @@ -470,7 +470,6 @@ SERVICE_EOT Description=Start Jeannie lab at 08:00 local time [Timer] OnCalendar=*-*-* 08:00:00 ${lab_schedule_timezone} -Persistent=true Unit=homelab-lab-window-start.service [Install] WantedBy=timers.target @@ -480,7 +479,6 @@ SERVICE_EOT Description=Stop Jeannie lab at 17:00 local time [Timer] OnCalendar=*-*-* 17:00:00 ${lab_schedule_timezone} -Persistent=true Unit=homelab-lab-window-stop.service [Install] WantedBy=timers.target diff --git a/docs/app-ops.md b/docs/app-ops.md index ded39ef..5f1cb2f 100644 --- a/docs/app-ops.md +++ b/docs/app-ops.md @@ -234,7 +234,8 @@ ssh ubuntu@ 'systemctl list-timers homelab-lab-window-*' ssh ubuntu@ 'sudo systemctl start homelab-lab-window-stop.service' ``` -The schedule is every day by default. Disable it by setting +The schedule is every day by default and does not catch up a missed event after +the edge reboots; this prevents an unexpected start outside the window. Disable it by setting `TF_VAR_lab_schedule_enabled=false` and reapplying the edge stack. The manual control remains available from Debian: diff --git a/docs/templates/app-ops.md.tmpl b/docs/templates/app-ops.md.tmpl index 2150fd5..0561c9c 100644 --- a/docs/templates/app-ops.md.tmpl +++ b/docs/templates/app-ops.md.tmpl @@ -234,7 +234,8 @@ ssh ubuntu@ 'systemctl list-timers homelab-lab-window-*' ssh ubuntu@ 'sudo systemctl start homelab-lab-window-stop.service' ``` -The schedule is every day by default. Disable it by setting +The schedule is every day by default and does not catch up a missed event after +the edge reboots; this prevents an unexpected start outside the window. Disable it by setting `TF_VAR_lab_schedule_enabled=false` and reapplying the edge stack. Manual control remains available from Debian: