feat(wpcarro/marcus): Schedule daily reboots
Every day at 3AM reboot marcus. Change-Id: Ia076b937a110039077add13360bd4fac3d7aa9d2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5147 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
This commit is contained in:
parent
b7de629e05
commit
10de2798a0
1 changed files with 9 additions and 0 deletions
|
@ -37,6 +37,15 @@ in
|
|||
interfaces.wlp0s20f3.useDHCP = true;
|
||||
};
|
||||
|
||||
# Schedule daily reboots.
|
||||
systemd.timers.auto-reboot = {
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig = {
|
||||
OnCalendar = "*-*-* 03:00:00";
|
||||
Unit = "reboot.target";
|
||||
};
|
||||
};
|
||||
|
||||
services = wpcarro.common.services // {
|
||||
tzupdate.enable = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue