Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
auto-tx
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vamp
auto-tx
Commits
a3d5b6ae
Commit
a3d5b6ae
authored
7 years ago
by
Niko Ehrenfeuchter
Browse files
Options
Downloads
Patches
Plain Diff
Set default values for optional configuration parameters.
Refers to
#29
parent
4520c8dc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ATxCommon/Serializables/ServiceConfig.cs
+20
-2
20 additions, 2 deletions
ATxCommon/Serializables/ServiceConfig.cs
with
20 additions
and
2 deletions
ATxCommon/Serializables/ServiceConfig.cs
+
20
−
2
View file @
a3d5b6ae
...
...
@@ -229,11 +229,29 @@ namespace ATxCommon.Serializables
/// </summary>
public
ServiceConfig
()
{
Log
.
Trace
(
"ServiceConfig() constructor, setting defaults."
);
// set values for the optional XML elements:
// set values for the optional XML elements (NOTE: parameters / variables that do not
// strictly REQUIRE a value are listed here as comments to denote they have not just
// been forgotten but an empty value is fine instead:
Debug
=
false
;
// MarkerFile may be empty
// SmtpHost may be empty
SmtpPort
=
25
;
// SmtpUserCredential may be empty
// SmtpPasswortCredential may be empty
// EmailFrom may be empty
EmailPrefix
=
"[AutoTx Service] "
;
// AdminEmailAdress may be empty
// AdminDebugEmailAdress may be empty
SendTransferNotification
=
true
;
SendAdminNotification
=
true
;
AdminNotificationDelta
=
60
;
GraceNotificationDelta
=
720
;
StorageNotificationDelta
=
720
;
// BlacklistedProcesses may be empty
EnforceInheritedACLs
=
true
;
// SpaceMonitoring may be empty
InterPacketGap
=
0
;
}
/// <summary>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment