diff options
| author | JP Dillingham <jp@dillingham.me> | 2024-12-18 17:24:16 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-18 17:24:16 -0600 |
| commit | b18f7b00bc1d438bfa78ff16cb1badf6fe255e97 (patch) | |
| tree | e278cb305877999c42c134565c195d6990b5f8a4 /docs | |
| parent | cfcdeff46861cdd11a5cbafe533ce08bda584566 (diff) | |
| parent | 727ea41ebca3b3e7d032d6c54451b4af4ab78a82 (diff) | |
| download | slskd-b18f7b00bc1d438bfa78ff16cb1badf6fe255e97.tar.gz | |
Merge pull request #1262 from slskd/api-only
Add 'headless' mode
Diffstat (limited to 'docs')
| -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. |
