view syslog2iptables.service.rc @ 77:c6ba792f1a9a

systemd only
author Carl Byington <carl@five-ten-sg.com>
date Wed, 15 Jul 2020 13:58:42 -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