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) | |
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 af15894d49f..937b85e16ce 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -31859,20 +31859,22 @@ desktop-environment or should be run manually. | |||
| 31859 | 31859 | ||
| 31860 | It provides a @emph{client} service for your machine to connect to a | 31860 | It provides a @emph{client} service for your machine to connect to a |
| 31861 | VPN, and a @emph{server} service for your machine to host a VPN@. | 31861 | VPN, and a @emph{server} service for your machine to host a VPN@. |
| 31862 | Both @code{openvpn-client-service-type} and | ||
| 31863 | @code{openvpn-server-service-type} can be run simultaneously. | ||
| 31862 | 31864 | ||
| 31863 | @deffn {Scheme Procedure} openvpn-client-service @ | 31865 | @defvar openvpn-client-service-type |
| 31864 | [#:config (openvpn-client-configuration)] | 31866 | Type of the service that runs @command{openvpn}, a VPN daemon, as a client. |
| 31865 | 31867 | ||
| 31866 | Return a service that runs @command{openvpn}, a VPN daemon, as a client. | 31868 | The value for this service is a @code{<openvpn-client-configuration>} |
| 31867 | @end deffn | 31869 | object. |
| 31868 | 31870 | @end defvar | |
| 31869 | @deffn {Scheme Procedure} openvpn-server-service @ | ||
| 31870 | [#:config (openvpn-server-configuration)] | ||
| 31871 | 31871 | ||
| 31872 | Return a service that runs @command{openvpn}, a VPN daemon, as a server. | 31872 | @defvar openvpn-server-service-type |
| 31873 | Type of the service that runs @command{openvpn}, a VPN daemon, as a server. | ||
| 31873 | 31874 | ||
| 31874 | Both can be run simultaneously. | 31875 | The value for this service is a @code{<openvpn-server-configuration>} |
| 31875 | @end deffn | 31876 | object. |
| 31877 | @end defvar | ||
| 31876 | 31878 | ||
| 31877 | @c %automatically generated documentation | 31879 | @c %automatically generated documentation |
| 31878 | 31880 | ||
