|
From: | Ludovic Courtès |
Subject: | [bug#63402] bug#63403: [PATCH 1/1] services: wireguard: Implement a dynamic IP monitoring feature. |
Date: | Mon, 22 May 2023 17:00:16 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi, Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis: > * gnu/services/herd.scm (current-service): New procedure, mostly reusing the > existing current-services. > (current-services): Implement in terms of the above procedure. How about having (lookup-service name) that calls the ‘status’ action on the given service and either returns a <live-service> or #f? ‘current-services’ might be implemented as (lookup-service 'root) but this should be kept as an implementation detail. Ludo’.
[Prev in Thread] | Current Thread | [Next in Thread] |