view syslog2iptables.service.rc @ 78:fadead7c9142

systemd only
author Carl Byington <carl@five-ten-sg.com>
date Wed, 15 Jul 2020 14:07:25 -0700
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