aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-11-21 18:53:13 -0600
committerJP Dillingham <jp@dillingham.me>2022-11-21 18:53:13 -0600
commit8f77abce8504e8bc345a3c89945173c18746a345 (patch)
tree545929a7463c4e6a8b89dc3582f91e6a244d70cc /docs
parentaaea2f91c1fbef91a0fe6c5350c79b9bac3175c3 (diff)
downloadslskd-8f77abce8504e8bc345a3c89945173c18746a345.tar.gz
repeat relay settings in agent section
Diffstat (limited to 'docs')
-rw-r--r--docs/config.md14
1 files changed, 8 insertions, 6 deletions
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