Files
pmaports-rtwo/systemd/systemd-services/system-nftables.service
T
Caleb Connolly 436bbea46d systemd/systemd-services: new aport (MR 5563)
A collection of systemd services.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:30 +01:00

15 lines
307 B
Desktop File

[Unit]
Description=nftables firewall used on pmOS
Wants=network-pre.target
Before=network-pre.target
[Service]
Type=oneshot
ExecStart=/usr/sbin/nft -f "/etc/nftables.nft"
ExecReload=/usr/sbin/nft -f "/etc/nftables.nft"
ExecStop=/usr/sbin/nft flush ruleset
Type=simple
[Install]
WantedBy=multi-user.target