From b810069274d04ab488b92f1b8bcd78a6e2aa80aa Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 11 Nov 2021 18:32:43 -0600 Subject: add RemoteConfiguration option --- src/slskd/Options.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs index 71c341e9..2d9bcc1e 100644 --- a/src/slskd/Options.cs +++ b/src/slskd/Options.cs @@ -177,6 +177,14 @@ namespace slskd [RequiresRestart] public bool NoVersionCheck { get; private set; } = false; + /// + /// Gets a value indicating whether remote configuration of options is allowed. + /// + [Argument(default, "remote-configuration")] + [EnvironmentVariable("REMOTE_CONFIGURATION")] + [Description("allow remote configuration")] + public bool RemoteConfiguration { get; private set; } = false; + /// /// Gets the unique name for this instance. /// -- cgit v1.2.3