aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Options.cs3
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>