aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-03-29 09:58:33 -0500
committerGitHub <noreply@github.com>2022-03-29 09:58:33 -0500
commit95a3ee390c527dcd8a27ff743391e340b13d3904 (patch)
tree8a13967cc725095f2e16c09b23318338a5dc8807
parent78f9910d92401a16e746000a48e200a0a8d88358 (diff)
parent0fad93a72b0ed96cdeef7434d2d60e8b2d62696c (diff)
downloadslskd-95a3ee390c527dcd8a27ff743391e340b13d3904.tar.gz
Merge pull request #404 from slskd/description
Don't require a restart when changing description
-rw-r--r--docs/config.md12
-rw-r--r--src/slskd/Options.cs1
2 files changed, 12 insertions, 1 deletions
diff --git a/docs/config.md b/docs/config.md
index f634d51c..e80de398 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -350,6 +350,18 @@ soulseek:
listen_port: 50000
```
+## Other
+
+| Command Line | Environment Variable | Description |
+| -------------------- | -------------------- | --------------------------------------------- |
+| `--slsk-description` | `SLSK_DESCRIPTION` | The user description for the Soulseek network |
+
+#### **YAML**
+```yaml
+soulseek:
+ description: A slskd user. https://github.com/slskd/slskd
+```
+
## Connection Options
### Timeouts
diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs
index a2c04333..507006a4 100644
--- a/src/slskd/Options.cs
+++ b/src/slskd/Options.cs
@@ -700,7 +700,6 @@ namespace slskd
[Argument(default, "slsk-description")]
[EnvironmentVariable("SLSK_DESCRIPTION")]
[Description("user description for the Soulseek network")]
- [RequiresReconnect]
public string Description { get; init; } = "A slskd user. https://github.com/slskd/slskd";
/// <summary>