diff dnsbl.service.rc @ 370:5380552644e2

RHEL7 systemd and /var/run on tmpfs
author Carl Byington <carl@five-ten-sg.com>
date Tue, 07 Feb 2017 18:09:52 -0800
parents
children 419564449cea
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dnsbl.service.rc	Tue Feb 07 18:09:52 2017 -0800
@@ -0,0 +1,17 @@
+[Unit]
+Description = Sendmail milter for spam control
+Wants = sendmail.service
+After = syslog.target
+After = local-fs.target
+After = network.target
+Before = sendmail.service
+
+[Service]
+Type = forking
+UMask = 0022
+User = dnsbl
+WorkingDirectory = SYSCONFDIR/dnsbl
+ExecStart = SBINDIR/dnsbl -d 10 -b /var/dcc/dccifd -r /var/run/dnsbl/dnsbl.resolver.sock -p local:/var/run/dnsbl/dnsbl.sock
+
+[Install]
+WantedBy = multi-user.target