services: nftables: Add 'configuration' action.
* gnu/services/networking.scm (nftables-shepherd-service)[actions]: New field.
This commit is contained in:
parent
2b1eb3c1cf
commit
4163c617b8
@ -1844,6 +1844,7 @@ table inet filter {
|
||||
(let ((nft (file-append package "/sbin/nft")))
|
||||
(shepherd-service
|
||||
(documentation "Packet filtering and classification")
|
||||
(actions (list (shepherd-configuration-action ruleset)))
|
||||
(provision '(nftables))
|
||||
(start #~(lambda _
|
||||
(invoke #$nft "--file" #$ruleset)))
|
||||
|
Loading…
Reference in New Issue
Block a user