mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 06:57:16 +08:00
16 lines
348 B
Desktop File
16 lines
348 B
Desktop File
[Unit]
|
|
Description=Netfilter Tables
|
|
Documentation=man:nft(8)
|
|
Wants=network-pre.target
|
|
Before=network-pre.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/nft -f /etc/nftables.conf
|
|
ExecReload=/usr/bin/nft flush ruleset ';' include '"/etc/nftables.conf"'
|
|
ExecStop=/usr/bin/nft flush ruleset
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|