diff options
author | Bruno Victal <mirai@makinata.eu> | 2023-02-25 18:58:09 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-03-03 17:55:34 +0100 |
commit | eddd9b1240897caabf64c90549ffa940eef45ce7 (patch) | |
tree | 42cec15e8e071ca3a3565c882d742f6bdf02f860 /doc | |
parent | c6cbce9ad8ee5fa7b51d8abea83ddc3dd07fa3c6 (diff) | |
download | guix-patches-eddd9b1240897caabf64c90549ffa940eef45ce7.tar guix-patches-eddd9b1240897caabf64c90549ffa940eef45ce7.tar.gz |
services: vpn: Deprecate 'openvpn-client-service' & 'openvpn-server-service' procedures.
* doc/guix.texi (VPN Services): Replace 'openvpn-client-service' & 'openvpn-server-service' procedures
with their service-type counterparts.
* gnu/services/vpn.scm (openvpn-client-service, openvpn-server-service): Deprecate procedure.
(openvpn-server-service-type, openvpn-client-service-type): Set default value.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index af15894d49..937b85e16c 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -31859,20 +31859,22 @@ desktop-environment or should be run manually. It provides a @emph{client} service for your machine to connect to a VPN, and a @emph{server} service for your machine to host a VPN@. +Both @code{openvpn-client-service-type} and +@code{openvpn-server-service-type} can be run simultaneously. -@deffn {Scheme Procedure} openvpn-client-service @ - [#:config (openvpn-client-configuration)] +@defvar openvpn-client-service-type +Type of the service that runs @command{openvpn}, a VPN daemon, as a client. -Return a service that runs @command{openvpn}, a VPN daemon, as a client. -@end deffn - -@deffn {Scheme Procedure} openvpn-server-service @ - [#:config (openvpn-server-configuration)] +The value for this service is a @code{<openvpn-client-configuration>} +object. +@end defvar -Return a service that runs @command{openvpn}, a VPN daemon, as a server. +@defvar openvpn-server-service-type +Type of the service that runs @command{openvpn}, a VPN daemon, as a server. -Both can be run simultaneously. -@end deffn +The value for this service is a @code{<openvpn-server-configuration>} +object. +@end defvar @c %automatically generated documentation |