Avoid catch-up power starts outside lab window
This commit is contained in:
parent
1adf33b739
commit
662b94aead
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -234,7 +234,8 @@ ssh ubuntu@<edge-host> 'systemctl list-timers homelab-lab-window-*'
|
|||
ssh ubuntu@<edge-host> '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:
|
||||
|
||||
|
|
|
|||
|
|
@ -234,7 +234,8 @@ ssh ubuntu@<edge-host> 'systemctl list-timers homelab-lab-window-*'
|
|||
ssh ubuntu@<edge-host> '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:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue