mirror of https://github.com/Jackett/Jackett
This commit is contained in:
parent
63b20c1aa7
commit
edce56f363
|
@ -737,9 +737,6 @@ To use it, please just request a free API key on [OMDb](http://www.omdbapi.com/a
|
|||
- `-c, --UseClient` Override web client selection.
|
||||
[automatic(Default)/httpclient/httpclient2]
|
||||
|
||||
- `-j, --ProxyConnection` use proxy - e.g. 127.0.0.1:8888
|
||||
|
||||
|
||||
- `-x, --ListenPublic` Listen publicly
|
||||
|
||||
- `-z, --ListenPrivate` Only allow local access
|
||||
|
|
|
@ -23,9 +23,6 @@ namespace Jackett.Common.Models.Config
|
|||
[Option('c', "UseClient", HelpText = "Override web client selection. [automatic(Default)/httpclient/httpclient2]")]
|
||||
public string Client { get; set; }
|
||||
|
||||
[Option('j', "ProxyConnection", HelpText = "use proxy - e.g. 127.0.0.1:8888")]
|
||||
public string ProxyConnection { get; set; }
|
||||
|
||||
[Option('s', "Start", HelpText = "Start the Jacket Windows service (Must be admin)")]
|
||||
public bool StartService { get; set; }
|
||||
|
||||
|
@ -82,10 +79,6 @@ namespace Jackett.Common.Models.Config
|
|||
if (options.Client != null)
|
||||
runtimeSettings.ClientOverride = options.Client.ToLowerInvariant();
|
||||
|
||||
// Use Proxy
|
||||
if (options.ProxyConnection != null)
|
||||
runtimeSettings.ProxyConnection = options.ProxyConnection.ToLowerInvariant();
|
||||
|
||||
// Ignore SSL errors on Curl
|
||||
runtimeSettings.IgnoreSslErrors = options.IgnoreSslErrors;
|
||||
|
||||
|
|
|
@ -11,8 +11,6 @@ namespace Jackett.Common.Models.Config
|
|||
|
||||
public string ClientOverride { get; set; }
|
||||
|
||||
public string ProxyConnection { get; set; }
|
||||
|
||||
public bool? IgnoreSslErrors { get; set; }
|
||||
|
||||
public string CustomDataFolder { get; set; }
|
||||
|
|
|
@ -28,9 +28,6 @@ namespace Jackett.Server
|
|||
|
||||
if (!string.IsNullOrWhiteSpace(runtimeSettings.CustomDataFolder))
|
||||
logger.Info("Jackett Data will be stored in: " + runtimeSettings.CustomDataFolder);
|
||||
|
||||
if (runtimeSettings.ProxyConnection != null)
|
||||
logger.Info("Proxy enabled: " + runtimeSettings.ProxyConnection);
|
||||
}
|
||||
|
||||
public static void ProcessWindowsSpecificArgs(ConsoleOptions consoleOptions, IProcessService processService, ServerConfig serverConfig, Logger logger)
|
||||
|
|
Loading…
Reference in New Issue