aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-12-31 16:50:27 -0600
committerGitHub <noreply@github.com>2022-12-31 16:50:27 -0600
commitce67db39e0fa02a764a13546043e71d25d338219 (patch)
tree84c6818063270d78f6655342450012385b8a205f /docs
parent49bc255026aa5ef2c4df0727134b7627808270fc (diff)
parentd259789fcb605aa9d87857ba2fba8c35604297c2 (diff)
downloadslskd-ce67db39e0fa02a764a13546043e71d25d338219.tar.gz
Merge pull request #815 from slskd/relay-down
Add the ability to configure Relay Agents to download files downloaded by the controller
Diffstat (limited to 'docs')
-rw-r--r--docs/config.md20
1 files changed, 12 insertions, 8 deletions
diff --git a/docs/config.md b/docs/config.md
index aed3a424..b3cf6aeb 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -226,14 +226,17 @@ 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 |
-| ---------------------------------------- | -------------------------------------------- | ------------------------------------------|
-| `-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` | The address of the controller |
-| `--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 |
+Agents can optionally receive completed downloads from the controller by enabling the `downloads` option. With this option enabled, agents will automatically download new files from the controller and save them to the configured local downloads directory.
+
+| 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` | The address of the controller |
+| `--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 |
+| `--controller-downloads` | `SLSKD_CONTROLLER_DOWNLOADS` | Receive completed downloads from the controller |
```yaml
instance_name: some_instance
@@ -245,6 +248,7 @@ relay:
ignore_certificate_errors: true
api_key: <a valid API key for the controller instance>
secret: <a secret value that matches the controller for this instance>
+ downloads: false
```
# Limits and User Groups