From 8f77abce8504e8bc345a3c89945173c18746a345 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 21 Nov 2022 18:53:13 -0600 Subject: repeat relay settings in agent section --- docs/config.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/config.md b/docs/config.md index 6d311826..0523a15e 100644 --- a/docs/config.md +++ b/docs/config.md @@ -224,12 +224,14 @@ Agents need to specify the HTTP or HTTPS address of their controller, the API ke If using HTTPS; most users won't have a valid certificate (the self-signed certificates that slskd generates at startup are not 'valid' because they are self-signed), and in those cases the `ignore_certificate_errors` option should be set to `true`. -| Command-Line | Environment Variable | Description | -| ---------------------------------------- | -------------------------------------------- | ---------------------------------| -| `--controller-address` | `SLSKD_CONTROLLER_ADDRESS` | Enable the Relay feature | -| `--controller-ignore-certificate-errors` | `SLSKD_CONTROLLER_IGNORE_CERTIFICATE_ERRORS` | Ignore certificate errors | -| `--controller-api-key` | `SLSKD_CONTROLLER_API_KEY` | An API key for the controller | -| `--controller-secret` | `SLSKD_CONTROLLER_SECRET` | The shared secret for this agent | +| Command-Line | Environment Variable | Description | +| ---------------------------------------- | -------------------------------------------- | ------------------------------------------| +| `-r\|--relay` | `SLSKD_RELAY` | Enable the Relay feature | +| `-m\|--relay-mode` | `SLSKD_RELAY_MODE` | The Relay mode (Controller, Agent, Debug) | +| `--controller-address` | `SLSKD_CONTROLLER_ADDRESS` | Enable the Relay feature | +| `--controller-ignore-certificate-errors` | `SLSKD_CONTROLLER_IGNORE_CERTIFICATE_ERRORS` | Ignore certificate errors | +| `--controller-api-key` | `SLSKD_CONTROLLER_API_KEY` | An API key for the controller | +| `--controller-secret` | `SLSKD_CONTROLLER_SECRET` | The shared secret for this agent | ```yaml instance_name: some_instance -- cgit v1.2.3