view 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 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