mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
services: wireguard: Add a 'configuration' action.
* gnu/services/vpn.scm (wireguard-shepherd-service) [actions]: New field.
This commit is contained in:
parent
d2385da87e
commit
bdcf23cf69
1 changed files with 1 additions and 0 deletions
|
@ -916,6 +916,7 @@ (define (wireguard-shepherd-service config)
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue