diff --git a/slurm.spec b/slurm.spec index fcfacfa..870aa38 100644 --- a/slurm.spec +++ b/slurm.spec @@ -887,7 +887,7 @@ cp %{buildroot}/%_unitdir/slurmd.service $SLURMD_SERVICE if grep -qE "^LimitNPROC" $SLURMD_SERVICE; then sed -i -e '/LimitNPROC/s@=.*@=infinity@' $SLURMD_SERVICE else - sed -i -e '/LimitSTACK/aLimitNPROC=infinity' $SLURMD_SERVICE + sed -i -e '/LimitNPROC/aLimitNPROC=infinity' $SLURMD_SERVICE fi sed -i -e '/ExecStart/aExecStartPre=/bin/bash -c "for i in 0 1 2 3; do test -e /dev/nvidia$i || mknod /dev/nvidia$i c 10 $((i+2)); done"' $SLURMD_SERVICE