Updated slurm to automatically return to service even with unexpected restart
This commit is contained in:
parent
75f8ea441e
commit
576559f855
1 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue