initial commit
This commit is contained in:
16
systemd/nft-fw.service
Normal file
16
systemd/nft-fw.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Apply nftables firewall (parameterized)
|
||||
Documentation=man:nft(8)
|
||||
After=local-fs.target
|
||||
Wants=network-pre.target
|
||||
Before=network-pre.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/sbin/fw-apply
|
||||
ExecStop=/usr/local/sbin/fw-stop
|
||||
RemainAfterExit=yes
|
||||
PrivateTmp=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user