From: Steve Freegard Date: Mon, 3 Oct 2016 12:11:34 +0000 (+0100) Subject: Implicit set LimitNOFILE as some versions of systemd do not parse 'infinity'... X-Git-Tag: 1.4.0~329^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F1000%2Fhead;p=rspamd.git Implicit set LimitNOFILE as some versions of systemd do not parse 'infinity'... --- 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