diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-05-17 23:28:05 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-07-21 11:58:45 -0400 |
commit | bdcf23cf69d47a1b576e70da63da08518329c0f5 (patch) | |
tree | b01982235946f5c813d32faa1496e3f9650cf393 /gnu | |
parent | d2385da87e9c5f93ffb8af246cd28a4c2e8fcc0f (diff) | |
download | guix-bdcf23cf69d47a1b576e70da63da08518329c0f5.tar.gz |
services: wireguard: Add a 'configuration' action.
* gnu/services/vpn.scm (wireguard-shepherd-service) [actions]: New field.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/services/vpn.scm | 1 |
1 files changed, 1 insertions, 0 deletions
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) |