summaryrefslogtreecommitdiffstats
path: root/rspamd.service
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-27 10:54:27 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-27 10:55:07 +0100
commit91515f2995f87befae5816840a0684ffc7297980 (patch)
tree52b2a3e38d4e6504c22ae89e0c6cc06d7f9d7541 /rspamd.service
parentfb43436a5cd82158485ea0763c4b1dad29888be6 (diff)
downloadrspamd-91515f2995f87befae5816840a0684ffc7297980.tar.gz
rspamd-91515f2995f87befae5816840a0684ffc7297980.zip
[Fix] Use non-blocking mode for systemd sockets
Issue: #430 Reported by: @Twilek-de
Diffstat (limited to 'rspamd.service')
-rw-r--r--rspamd.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/rspamd.service b/rspamd.service
index 9588d32b0..76b5637ce 100644
--- a/rspamd.service
+++ b/rspamd.service
@@ -3,6 +3,8 @@ Description=rapid spam filtering system
After=nss-lookup.target
[Service]
+Type=forking
+NonBlocking=true
ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f
User=_rspamd
RuntimeDirectory=rspamd