aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAna Hobden <operator@hoverbear.org>2023-07-07 07:52:16 -0700
committerAna Hobden <operator@hoverbear.org>2023-07-07 07:52:16 -0700
commitd76bf29c5f55f63f10741290c8d415c880a80ac2 (patch)
treec13ac6f9f95abaf6e93e12771c6b1a6a88058b61 /misc
parent4b2f155f0a22179e46d2c55cb1bd074c885fd08e (diff)
Choose a reasonable number similar to LimitNOFile
Diffstat (limited to 'misc')
-rw-r--r--misc/systemd/nix-daemon.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/systemd/nix-daemon.service.in b/misc/systemd/nix-daemon.service.in
index 4b4474475..45fbea02c 100644
--- a/misc/systemd/nix-daemon.service.in
+++ b/misc/systemd/nix-daemon.service.in
@@ -10,7 +10,7 @@ ConditionPathIsReadWrite=@localstatedir@/nix/daemon-socket
ExecStart=@@bindir@/nix-daemon nix-daemon --daemon
KillMode=process
LimitNOFILE=1048576
-TasksMax=infinity
+TasksMax=1048576
[Install]
WantedBy=multi-user.target