6c98e57fe4
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/nftables#60b6d3d324c90ea7ee6c0c5ec89f89cddc5b617e
18 lines
393 B
Desktop File
18 lines
393 B
Desktop File
[Unit]
|
|
Description=Netfilter Tables
|
|
Documentation=man:nft(8)
|
|
Wants=network-pre.target
|
|
Before=network-pre.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
ExecStart=/sbin/nft -f /etc/sysconfig/nftables.conf
|
|
ExecReload=/sbin/nft 'flush ruleset; include "/etc/sysconfig/nftables.conf";'
|
|
ExecStop=/sbin/nft flush ruleset
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|