aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-18 13:59:44 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-18 13:59:44 +0000
commit98e6d85b7953e52a5b8771cfc75c89fe10c68c60 (patch)
tree524fd66706a9aa156c68660c52f8731c1d60832d
parente1b777819b0f519f0c7a40fa8fc0063fd43efdb5 (diff)
downloadrspamd-98e6d85b7953e52a5b8771cfc75c89fe10c68c60.tar.gz
rspamd-98e6d85b7953e52a5b8771cfc75c89fe10c68c60.zip
Add runtime directory for systemd
Suggested by: Denis Denisov
-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]