lol

Merge pull request #272041 from Luflosi/kubo-fix-potential-panic-on-start

nixos/kubo: fix potential panic on startup

authored by

Franz Pletz and committed by
GitHub
d6b1e625 386647be

+2
+2
nixos/modules/services/network-filesystems/kubo.nix
··· 361 361 Group = cfg.group; 362 362 StateDirectory = ""; 363 363 ReadWritePaths = optionals (!cfg.autoMount) [ "" cfg.dataDir ]; 364 + # Make sure the socket units are started before ipfs.service 365 + Sockets = [ "ipfs-gateway.socket" "ipfs-api.socket" ]; 364 366 } // optionalAttrs (cfg.serviceFdlimit != null) { LimitNOFILE = cfg.serviceFdlimit; }; 365 367 } // optionalAttrs (!cfg.startWhenNeeded) { 366 368 wantedBy = [ "default.target" ];