aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rspamd.service2
-rw-r--r--rspamd.socket1
2 files changed, 2 insertions, 1 deletions
diff --git a/rspamd.service b/rspamd.service
index cc295f67c..c6ad4094c 100644
--- a/rspamd.service
+++ b/rspamd.service
@@ -5,6 +5,8 @@ After=nss-lookup.target
[Service]
ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f
User=_rspamd
+RuntimeDirectory=rspamd
+RuntimeDirectoryMode=0755
[Install]
WantedBy=multi-user.target
diff --git a/rspamd.socket b/rspamd.socket
index f3b3aa0a8..e28becce0 100644
--- a/rspamd.socket
+++ b/rspamd.socket
@@ -4,7 +4,6 @@ Description=rapid spam filtering system
[Socket]
ListenStream=11333
ListenStream=[::1]:11334
-
BindIPv6Only=both
[Install]