summaryrefslogtreecommitdiff
path: root/net-firewall/nftables/files/systemd/nftables-store.service
blob: 373f8b947d7d7e4e0b1e5c090a3f2e6578b5b803 (plain)
1
2
3
4
5
6
7
8
9
10
11
[Unit]
Description=Store nftables firewall rules
Before=shutdown.target
DefaultDependencies=No

[Service]
Type=oneshot
ExecStart=/usr/libexec/nftables/nftables.sh store /var/lib/nftables/rules-save

[Install]
WantedBy=shutdown.target