This unit is provided by:
Options
-
[Install]
-
WantedBy=initrd-network.service
-
-
[Service]
-
ExecReload=/usr/bin/nft flush ruleset ';' include '"/etc/nftables.conf"'
-
ExecStart=/usr/bin/nft -f /etc/nftables.conf
-
ExecStop=/usr/bin/nft flush ruleset
-
RemainAfterExit=yes
-
Type=oneshot
-
-
[Unit]
-
Before=initrd-network.service
-
ConditionPathExists=/etc/initrd-release
-
DefaultDependencies=no
-
Description=Initrd Firewall Service
-
Documentation=https://github.com/random-archer/mkinitcpio-systemd-tool/blob/master/README.md
-
-
[X-SystemdTool]
-
InitrdCall=add_all_modules /netfilter/nft_* add_all_modules /netfilter/nf_tables*
-
InitrdPath=/etc/nftables.conf source=/etc/mkinitcpio-systemd-tool/config/initrd-nftables.conf replace=yes
-
Additionnal notes
Nothing here.