1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

services: wireguard: Add a 'configuration' action.

* gnu/services/vpn.scm (wireguard-shepherd-service) [actions]: New field.
This commit is contained in:
Maxim Cournoyer
2023-05-17 23:28:05 -04:00
parent d2385da87e
commit bdcf23cf69

View File

@@ -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)