1 2 3 4 5 6 7 8 9 10 11 12
[Unit] Before=network-pre.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/libexec/nft-configure.sh ExecReload=/usr/libexec/nft-configure.sh ExecStop=/usr/sbin/nft flush ruleset [Install] WantedBy=multi-user.target