summaryrefslogtreecommitdiffstats
path: root/rspamd.service
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 /rspamd.service
parente1b777819b0f519f0c7a40fa8fc0063fd43efdb5 (diff)
downloadrspamd-98e6d85b7953e52a5b8771cfc75c89fe10c68c60.tar.gz
rspamd-98e6d85b7953e52a5b8771cfc75c89fe10c68c60.zip
Add runtime directory for systemd
Suggested by: Denis Denisov
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 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