summarylogtreecommitdiffstats
path: root/milter-spamd.service
diff options
context:
space:
mode:
authormezcal2018-08-09 15:15:42 +0200
committermezcal2018-08-09 15:15:42 +0200
commit14de7c0d229ff9320b1b5d6db21fc154237fa072 (patch)
tree308237bc65c4acc729beff59798fe88bf94bc891 /milter-spamd.service
parent377383bd50fd9823d187aefbc1648d8faee5537d (diff)
downloadaur-milter-spamd.tar.gz
Update to 0.9
Diffstat (limited to 'milter-spamd.service')
-rw-r--r--milter-spamd.service15
1 files changed, 6 insertions, 9 deletions
diff --git a/milter-spamd.service b/milter-spamd.service
index 960d7b21032c..ebbc54e374ae 100644
--- a/milter-spamd.service
+++ b/milter-spamd.service
@@ -1,18 +1,15 @@
[Unit]
Description = Milter for SpamAssassin
Wants = spamassassin.service
-After = network.target
-After = spamassassin.service
-Before = postfix.service
-
+After=network.target spamassassin.service
[Service]
Type = forking
-User = postfix
-Group = postfix
-Environment = SOCKET=unix:/var/spool/postfix/private/milter-spamd
-ExecStart = /usr/bin/milter-spamd -p $SOCKET -U spamd
-#Restart= always
+User = milter-spamd
+Group = mail
+RuntimeDirectory=milter-spamd
+RuntimeDirectoryMode=0710
+ExecStart = /usr/bin/milter-spamd -p /run/milter-spamd/milter-spamd.sock -U spamd
[Install]
WantedBy = multi-user.target