]> source.dussan.org Git - rspamd.git/commitdiff
Add runtime directory for systemd
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 18 Dec 2015 13:59:44 +0000 (13:59 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 18 Dec 2015 13:59:44 +0000 (13:59 +0000)
Suggested by: Denis Denisov

rspamd.service
rspamd.socket

index cc295f67cca5f7ce1abfda9e5c380f7c063f2ae9..c6ad4094cf299355decd824bbd734dfe9c7d8483 100644 (file)
@@ -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
index f3b3aa0a8de238a84447467c494220f52db93f85..e28becce070a6516e63936b2d0ddc680d906e452 100644 (file)
@@ -4,7 +4,6 @@ Description=rapid spam filtering system
 [Socket]
 ListenStream=11333
 ListenStream=[::1]:11334
-
 BindIPv6Only=both
 
 [Install]