aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Core')
-rw-r--r--src/slskd/Core/Options.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index c1f4d558..3727b89d 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -333,6 +333,15 @@ namespace slskd
public bool NoStart { get; init; } = false;
/// <summary>
+ /// Gets a value indicating whether the application should watch the configuration file for changes.
+ /// </summary>
+ [Argument(default, "no-config-watch")]
+ [EnvironmentVariable("NO_CONFIG_WATCH")]
+ [Description("do not watch the config file for changes")]
+ [RequiresRestart]
+ public bool NoConfigWatch { get; init; } = false;
+
+ /// <summary>
/// Gets a value indicating whether the application should connect to the Soulseek network on startup.
/// </summary>
[Argument(default, "no-connect")]