diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-02-02 19:07:56 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-02-02 19:07:56 -0600 |
| commit | 2fa649934b70edc40350343eb583574dce8c7617 (patch) | |
| tree | 5d509f0213516ea69eff5ae93978f20a85e653e6 /src | |
| parent | a5da4702b441644b3ffab3993347b6c476de417a (diff) | |
| download | slskd-2fa649934b70edc40350343eb583574dce8c7617.tar.gz | |
tweak attributes for vpn options
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Core/Options.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index 10aaed3d..85d1491c 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -2313,11 +2313,13 @@ namespace slskd /// <summary> /// Gets a value indicating whether the VPN integration is enabled. /// </summary> + [RequiresRestart] public bool Enabled { get; init; } = false; /// <summary> /// Gets a value indicating whether a VPN connection is required before connecting to the Soulseek network. /// </summary> + [RequiresRestart] public bool Required { get; init; } = false; /// <summary> @@ -2328,6 +2330,7 @@ namespace slskd /// <summary> /// Gets Gluetun options. /// </summary> + [Validate] public GluetunVpnOptions Gluetun { get; init; } = new GluetunVpnOptions(); /// <summary> |
