Browse Source

watch firewall.nft for restart

master
Sean Johnson 1 year ago
parent
commit
142c3e5333
  1. 3
      fwrules/init.sls

3
fwrules/init.sls

@ -69,9 +69,12 @@ service.systemctl_reload: @@ -69,9 +69,12 @@ service.systemctl_reload:
fwrules:
service.running:
- name: fwrules
- enable: true
- full_restart: true
- watch:
- file: /lib/systemd/system/fwrules.service
- file: /etc/firewall/firewall.nft
{% if ("nft"|which) is not none %}
{{ "nft"|which }} -f /etc/firewall/firewall.nft:

Loading…
Cancel
Save