From bdcf23cf69d47a1b576e70da63da08518329c0f5 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 17 May 2023 23:28:05 -0400 Subject: 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(+) (limited to 'gnu/services') 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) -- cgit 1.4.1