Start nftables systemd unit earlier
Source: nftables 0.9.8-3.1 from Debian Bullseye Thanks to @kravietz − PR #19
This commit is contained in:
parent
abdc15191b
commit
a34e5441a9
|
@ -17,6 +17,7 @@
|
|||
|
||||
### Fixed
|
||||
* Ansible-lint: Fix line longer than 160 chars.
|
||||
* Start nftables systemd unit earlier (thanks to @kravietz − PR #19).
|
||||
|
||||
## v1.7.0
|
||||
|
||||
|
|
|
@ -2,7 +2,10 @@
|
|||
[Unit]
|
||||
Description={{ nft_service_name }}
|
||||
Documentation=man:nft(8) http://wiki.nftables.org
|
||||
;Before=fail2ban.service
|
||||
Wants=network-pre.target
|
||||
Before=network-pre.target shutdown.target
|
||||
Conflicts=shutdown.target
|
||||
DefaultDependencies=no
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
@ -17,4 +20,4 @@ ExecReload={{ nft__bin_location }} -f {{ nft_main_conf_path }}
|
|||
ExecStop={{ nft__bin_location }} flush ruleset
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=sysinit.target
|
||||
|
|
Loading…
Reference in New Issue