view syslog2iptables.service.rc @ 73:4685767c0c85 stable-1-0-17

RHEL7 systemd and /var/run on tmpfs
author Carl Byington <carl@five-ten-sg.com>
date Thu, 09 Feb 2017 15:01:05 -0800
parents 79f310d1bc46
children
line wrap: on
line source

[Unit]
Description = Syslog to iptables dynamic firewall
After = syslog.target
After = local-fs.target
After = network.target

[Service]
Type = forking
UMask = 0022
User = root
WorkingDirectory = SYSCONFDIR
ExecStart = SBINDIR/syslog2iptables -d 3

[Install]
WantedBy = multi-user.target