aboutsummaryrefslogtreecommitdiff
path: root/misc/systemd
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-05-19 22:12:11 +0200
committerGitHub <noreply@github.com>2022-05-19 22:12:11 +0200
commit5aeda916390584b7b055ed794d1063a39854f148 (patch)
treeaf8c6e47d502fa8c18d19f87f460556bc03f5eb7 /misc/systemd
parent78dc64ec1e34236d90c8869feebe30f596205cb2 (diff)
parentcebef6a25031e984a30d823f19b4cdc414ee9b48 (diff)
Merge pull request #6553 from Artturin/raisefilelimit
nix-daemon.service: sync LimitNOFILE with the nixos service
Diffstat (limited to 'misc/systemd')
-rw-r--r--misc/systemd/nix-daemon.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/systemd/nix-daemon.service.in b/misc/systemd/nix-daemon.service.in
index 24d894898..e3ac42beb 100644
--- a/misc/systemd/nix-daemon.service.in
+++ b/misc/systemd/nix-daemon.service.in
@@ -9,6 +9,7 @@ ConditionPathIsReadWrite=@localstatedir@/nix/daemon-socket
[Service]
ExecStart=@@bindir@/nix-daemon nix-daemon --daemon
KillMode=process
+LimitNOFILE=4096
[Install]
WantedBy=multi-user.target