view dnsbl.service.rc @ 471:419564449cea stable-6-0-77

change paths from /var/run/dnsbl to /run/dnsbl
author Carl Byington <carl@five-ten-sg.com>
date Wed, 16 Dec 2020 13:34:55 -0800
parents 5380552644e2
children
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 /run/dnsbl/dnsbl.resolver.sock -p local:/run/dnsbl/dnsbl.sock

[Install]
WantedBy = multi-user.target