mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Gracefully exit on restart instead of forcibly killing it
This commit is contained in:
parent
ce13be3d43
commit
c2087af8c9
13 changed files with 92 additions and 22 deletions
|
@ -28,6 +28,7 @@ namespace NzbDrone.Core.Configuration
|
|||
string Password { get; }
|
||||
string LogLevel { get; }
|
||||
string Branch { get; }
|
||||
bool AutoUpdate { get; }
|
||||
string ApiKey { get; }
|
||||
bool Torrent { get; }
|
||||
string SslCertHash { get; }
|
||||
|
@ -133,6 +134,11 @@ namespace NzbDrone.Core.Configuration
|
|||
get { return GetValue("Branch", "master").ToLowerInvariant(); }
|
||||
}
|
||||
|
||||
public bool AutoUpdate
|
||||
{
|
||||
get { return GetValueBoolean("AutoUpdate", false, persist: false); }
|
||||
}
|
||||
|
||||
public string Username
|
||||
{
|
||||
get { return GetValue("Username", ""); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue