Subject: [bug#77045] [PATCH] services: wireguard: Add the shepherd-requirement field.

From: Ludovic Courtès <[email-masked]>
Date: Tue, 18 Mar 2025 11:51:21 +0100

Sergey Trofimov <[email-masked]> skribis:

> * gnu/services/vpn.scm
> (<wireguard-configuration>): Add shepherd-requirement.
> (wireguard-shepherd-service): Pass shepherd-requirement.
> * doc/guix.texi (VPN Services):[wireguard]: Document it.

[...]

> @@ -765,6 +766,8 @@ (define-record-type* <wireguard-configuration>
>                            (default '()))
>    (post-down              wireguard-configuration-post-down ;list of strings
>                            (default '()))
> +  (shepherd-requirement   wireguard-configuration-shepherd-requirement ; list of symbols
> +                          (default '()))

It should default to '(user-processes).

This is a bug that was already present; see
<https://issues.guix.gnu.org/76368> for background.

Ludo’.