Add 10 min shutdown jitter to avoid spikes

The shutdown timer will fire at slightly different times for the
different nodes, so we slowly decrease the power consumption.
This commit is contained in:
Rodrigo Arias 2024-07-22 11:20:02 +02:00
parent 7b58d8fbcc
commit 4a52970821

View File

@ -7,6 +7,7 @@
wantedBy = [ "timers.target" ]; wantedBy = [ "timers.target" ];
timerConfig = { timerConfig = {
OnCalendar = "*-08-02 11:00:00"; OnCalendar = "*-08-02 11:00:00";
RandomizedDelaySec = "10min";
Unit = "systemd-poweroff.service"; Unit = "systemd-poweroff.service";
}; };
}; };