paulbsd-salt/states/iptables/iptables.service.j2

14 lines
339 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
[Unit]
Description=Iptables firewall rules
Documentation=man:iptables(8)
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/bash -c "/sbin/iptables-service start"
ExecReload=/bin/bash -c "/sbin/iptables-service restart"
ExecStop=/bin/bash -c "/sbin/iptables-service stop"
StandardOutput=syslog
[Install]
WantedBy=multi-user.target