diff options
author | Marius Bakke <marius@gnu.org> | 2023-09-16 12:36:17 +0800 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2023-09-22 01:29:18 +0800 |
commit | 4163c617b84802fbe780b9668bb092eab479fc28 (patch) | |
tree | 08e9eade8e51d1d4f51d0034e997dd2737a8a3ae | |
parent | 2b1eb3c1cf45cf916e30c3b32b3526d90a636cd9 (diff) | |
download | guix-4163c617b84802fbe780b9668bb092eab479fc28.tar.gz guix-4163c617b84802fbe780b9668bb092eab479fc28.zip |
services: nftables: Add 'configuration' action.
* gnu/services/networking.scm (nftables-shepherd-service)[actions]: New field.
-rw-r--r-- | gnu/services/networking.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm index befaca0aca..f4aff2d979 100644 --- a/gnu/services/networking.scm +++ b/gnu/services/networking.scm @@ -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))) |