Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 540198 | Differences between
and this patch

Collapse All | Expand All

(-)net-firewall/nftables/files/systemd/nftables-restore.service (+14 lines)
Line 0 Link Here
1
[Unit]
2
Description=Restore nftables firewall rules
3
# if both are queued for some reason, don't store before restoring :)
4
Before=nftables-store.service
5
# sounds reasonable to have firewall up before any of the services go up
6
Before=network.target
7
Conflicts=shutdown.target
8
9
[Service]
10
Type=oneshot
11
ExecStart=/usr/libexec/nftables/nftables.sh load /var/lib/nftables/rules-save
12
13
[Install]
14
WantedBy=basic.target
(-)net-firewall/nftables/files/systemd/nftables-store.service (+11 lines)
Line 0 Link Here
1
[Unit]
2
Description=Store nftables firewall rules
3
Before=shutdown.target
4
DefaultDependencies=No
5
6
[Service]
7
Type=oneshot
8
ExecStart=/usr/libexec/nftables/nftables.sh store /var/lib/nftables/rules-save
9
10
[Install]
11
WantedBy=shutdown.target
(-)net-firewall/nftables/files/systemd/nftables.service (-1 / +6 lines)
Line 0 Link Here
0
- 
1
[Unit]
2
Description=Store and restore nftables firewall rules
3
4
[Install]
5
Also=nftables-store.service
6
Also=nftables-restore.service

Return to bug 540198