From 727ea41ebca3b3e7d032d6c54451b4af4ab78a82 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 18 Dec 2024 17:04:17 -0600 Subject: docs for headless mode --- docs/config.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docs') 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. -- cgit v1.2.3