From cc12e0d555fdfe26ea68f20db69e4b31f22360ec Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Mon, 18 Dec 2017 23:59:23 +0100 Subject: [PATCH] More configuration elements to be made optional. This is NOT YET reflected in the configuration example XML! --- AutoTx/XmlWrapper/ServiceConfig.cs | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/AutoTx/XmlWrapper/ServiceConfig.cs b/AutoTx/XmlWrapper/ServiceConfig.cs index bcfc890..d644cdb 100644 --- a/AutoTx/XmlWrapper/ServiceConfig.cs +++ b/AutoTx/XmlWrapper/ServiceConfig.cs @@ -18,6 +18,12 @@ namespace AutoTx.XmlWrapper SmtpPort = 25; SmtpUserCredential = ""; SmtpPasswortCredential = ""; + EmailPrefix = ""; + AdminEmailAdress = ""; + AdminDebugEmailAdress = ""; + + InterPacketGap = 0; + EnforceInheritedACLs = true; } @@ -67,12 +73,9 @@ namespace AutoTx.XmlWrapper public string TmpTransferDir { get; set; } public string EmailFrom { get; set; } - public string AdminEmailAdress { get; set; } - public string AdminDebugEmailAdress { get; set; } - public string EmailPrefix { get; set; } public int ServiceTimer { get; set; } - public int InterPacketGap { get; set; } + public int MaxCpuUsage { get; set; } public int MinAvailableMemory { get; set; } public int AdminNotificationDelta { get; set; } @@ -106,6 +109,12 @@ namespace AutoTx.XmlWrapper public string SmtpPasswortCredential { get; set; } public int SmtpPort { get; set; } + public string EmailPrefix { get; set; } + public string AdminEmailAdress { get; set; } + public string AdminDebugEmailAdress { get; set; } + + public int InterPacketGap { get; set; } + /// <summary> /// EnforceInheritedACLs: whether to enforce ACL inheritance when moving files and /// directories, see https://support.microsoft.com/en-us/help/320246 for more details. -- GitLab