Updated slurm to automatically return to service even with unexpected restart

This commit is contained in:
Ceferino Patino 2024-10-01 15:40:36 -05:00
commit 576559f855
Signed by: c4patino
SSH key fingerprint: SHA256:Wu+cU1t+7zVT9wzew/4meNmeulo66NzMqc22MdDBgXI

View file

@ -1,4 +1,4 @@
{ pkgs, lib, config, self, ... }: {
{ lib, config, self, ... }: {
options = {
slurm.enable = lib.mkOption {
type = lib.types.bool;
@ -17,10 +17,10 @@
partitionName = [
"main Nodes=arisu Default=YES MaxTime=INFINITE State=UP"
];
};
networking.firewall = {
enable = false;
extraConfig = ''
ReturnToService=2
'';
};
services.munge.enable = true;