[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/05: services: wireguard: Add a 'configuration' action.
From: |
guix-commits |
Subject: |
04/05: services: wireguard: Add a 'configuration' action. |
Date: |
Fri, 21 Jul 2023 12:12:31 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit bdcf23cf69d47a1b576e70da63da08518329c0f5
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed May 17 23:28:05 2023 -0400
services: wireguard: Add a 'configuration' action.
* gnu/services/vpn.scm (wireguard-shepherd-service) [actions]: New field.
---
gnu/services/vpn.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/services/vpn.scm b/gnu/services/vpn.scm
index 8f450bacb1..9c8243d131 100644
--- a/gnu/services/vpn.scm
+++ b/gnu/services/vpn.scm
@@ -916,6 +916,7 @@ public key, if any."
(stop #~(lambda _
(invoke #$wg-quick "down" #$config)
#f)) ;stopped!
+ (actions (list (shepherd-configuration-action config)))
(documentation "Run the Wireguard VPN tunnel"))))))
(define (wireguard-monitoring-jobs config)