summaryrefslogtreecommitdiffstats
path: root/rspamd.service
diff options
context:
space:
mode:
authorSteve Freegard <steve@freegard.name>2016-10-03 13:11:34 +0100
committerGitHub <noreply@github.com>2016-10-03 13:11:34 +0100
commit24f7803f9ca1bed3dcc24be25f46c62bc776ff12 (patch)
tree1719b3186b5c2d718a1549f825928457c8a66243 /rspamd.service
parentc4a261bcad404f534c274acf75e926fd6ddc40e6 (diff)
downloadrspamd-24f7803f9ca1bed3dcc24be25f46c62bc776ff12.tar.gz
rspamd-24f7803f9ca1bed3dcc24be25f46c62bc776ff12.zip
Implicit set LimitNOFILE as some versions of systemd do not parse 'infinity'...
Diffstat (limited to 'rspamd.service')
-rw-r--r--rspamd.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/rspamd.service b/rspamd.service
index 088274ea6..75cc5485c 100644
--- a/rspamd.service
+++ b/rspamd.service
@@ -3,7 +3,7 @@ Description=rapid spam filtering system
After=nss-lookup.target
[Service]
-LimitNOFILE=infinity
+LimitNOFILE=1048576
NonBlocking=true
ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f
User=_rspamd