diff options
| author | JP Dillingham <jp@dillingham.me> | 2024-12-18 17:04:17 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2024-12-18 17:04:17 -0600 |
| commit | 727ea41ebca3b3e7d032d6c54451b4af4ab78a82 (patch) | |
| tree | e278cb305877999c42c134565c195d6990b5f8a4 /docs/config.md | |
| parent | 30a3e14536685cea1cfafed29aba0a217ce86f03 (diff) | |
| download | slskd-727ea41ebca3b3e7d032d6c54451b4af4ab78a82.tar.gz | |
docs for headless mode
Diffstat (limited to 'docs/config.md')
| -rw-r--r-- | docs/config.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/config.md b/docs/config.md index e83fc1a9..4d8764a5 100644 --- a/docs/config.md +++ b/docs/config.md @@ -73,6 +73,20 @@ If an attacker were to gain access to the application and retrieve the YAML file remote_configuration: false ``` +# Headless Mode + +Users that want extra security and don't intend to use the application's web UI can disable it. This setting is ideal in +situations where slskd will be controlled by another application via the API (like when run as a Relay agent). + +| Command-Line | Environment Variable | Description | +| ------------------------ | -----------------------------| ------------------------------------------------------------- | +| `--headless` | `SLSKD_HEADLESS` | Determines whether the application should run in headless (no web UI) mode | + +#### **YAML** +```yaml +headless: false +``` + # Permissions On [Unix-like](https://en.wikipedia.org/wiki/Unix-like) operating systems, slskd creates downloaded files with permissions dictated by the [umask](https://en.wikipedia.org/wiki/Umask) of the process, usually 022, which translates to a file mode of 644; read/write for the owner and read for the group and all others. |
