add auto reboot
This commit is contained in:
parent
7876f5dcd1
commit
b6d66dda50
2 changed files with 12 additions and 4 deletions
11
clients/quadraticserver/restart.nix
Normal file
11
clients/quadraticserver/restart.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
systemd.timers.reboot = {
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig = {
|
||||
OnCalendar = "*-*-* 02:00:00";
|
||||
Persistent = true;
|
||||
Unit = "reboot.target";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue