agaric-coop/box/provisioning/roles/geerlingguy.firewall/templates/firewall.unit.j2

13 lines
201 B
Text
Raw Permalink Normal View History

[Unit]
Description=Firewall
After=syslog.target network.target
[Service]
Type=oneshot
ExecStart=/etc/firewall.bash
ExecStop=/sbin/iptables -F
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target