Browse Source

manager: make opensm service self-healing

main
Dustin Frisch 10 months ago
parent
commit
c343d619a7
No known key found for this signature in database GPG Key ID: B4C3BF012D9B26BE
  1. 3
      machines/manager/rdma.nix

3
machines/manager/rdma.nix

@ -12,6 +12,9 @@ with lib;
serviceConfig = { serviceConfig = {
Type = "simple"; Type = "simple";
ExecStart = "${pkgs.opensm}/bin/opensm --guid '0x0002c9030052188b'"; ExecStart = "${pkgs.opensm}/bin/opensm --guid '0x0002c9030052188b'";
Restart = "on-failure";
RestartSec = "5s";
}; };
wantedBy = [ "network-online.target" ]; wantedBy = [ "network-online.target" ];

Loading…
Cancel
Save