view dnsbl.service.rc @ 443:0df77bbb7fc2 stable-6-0-67

always call dcc code so we get log entries
author Carl Byington <carl@five-ten-sg.com>
date Fri, 05 Jan 2018 17:23:19 -0800
parents 5380552644e2
children 419564449cea
line wrap: on
line source

[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