diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-12-30 16:19:28 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-12-30 16:19:28 -0600 |
| commit | 3f6f13bb99deac7c0b5a5b5ddb43cea91fa40e13 (patch) | |
| tree | 7155c2f7e4b856dc2c83689553866831a49a98d1 /docs/config.md | |
| parent | 49bc255026aa5ef2c4df0727134b7627808270fc (diff) | |
| download | slskd-3f6f13bb99deac7c0b5a5b5ddb43cea91fa40e13.tar.gz | |
add controller 'downloads' option and docs
Diffstat (limited to 'docs/config.md')
| -rw-r--r-- | docs/config.md | 20 |
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 |
