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

12 lines
201 B
Django/Jinja

[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