Merge pull request #272041 from Luflosi/kubo-fix-potential-panic-on-start
nixos/kubo: fix potential panic on startup
This commit is contained in:
commit
d6b1e62544
@ -361,6 +361,8 @@ in
|
||||
Group = cfg.group;
|
||||
StateDirectory = "";
|
||||
ReadWritePaths = optionals (!cfg.autoMount) [ "" cfg.dataDir ];
|
||||
# Make sure the socket units are started before ipfs.service
|
||||
Sockets = [ "ipfs-gateway.socket" "ipfs-api.socket" ];
|
||||
} // optionalAttrs (cfg.serviceFdlimit != null) { LimitNOFILE = cfg.serviceFdlimit; };
|
||||
} // optionalAttrs (!cfg.startWhenNeeded) {
|
||||
wantedBy = [ "default.target" ];
|
||||
|
Loading…
Reference in New Issue
Block a user