diff --git a/Resources/configuration-example.xml b/Resources/configuration-example.xml deleted file mode 100644 index ec6bc1400363489de81452289fb7ef0cfee55619..0000000000000000000000000000000000000000 --- a/Resources/configuration-example.xml +++ /dev/null @@ -1,103 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<ServiceConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <!-- HostAlias: friendly name to be used for this machine in mails --> - <HostAlias>Confocal Microscope 2</HostAlias> - <!-- DestinationAlias: friendly name for the target to be used in mails --> - <DestinationAlias>Core Facility Storage</DestinationAlias> - - <!-- enable or disable debug log messages --> - <Debug>true</Debug> - - <!-- SourceDrive: base drive including backslash, e.g. "D:\" --> - <SourceDrive>XXX</SourceDrive> - <!-- IncomingDirectory: directory on SourceDrive to watch for new files --> - <IncomingDirectory>AUTOTRANSFER</IncomingDirectory> - <!-- [OPTIONAL] MarkerFile: a file to place in each user's incoming - directory, the file itself will be ignored for the transfers --> - <MarkerFile>_DO_NOT_ACQUIRE_HERE_.txt</MarkerFile> - <!-- ManagedDirectory: directory on SourceDrive where files and folders are - moved while queueing for their transfer (sub-directory "PROCESSING") - and to store them for deferred delection after a grace period after - the transfer (sub-directory "DONE"). --> - <ManagedDirectory>ProgramData\AUTOTRANSFER</ManagedDirectory> - <!-- GracePeriod: number of days after data in the "DONE" location expires, - which will trigger a summary email to the admin address. --> - <GracePeriod>5</GracePeriod> - <!-- DestinationDirectory: where files should be transferred to --> - <DestinationDirectory>\\fileserver.mydomain.xy\share\</DestinationDirectory> - <!-- TmpTransferDir: temporary directory relative to DestinationDirectory - to be used for running transfers --> - <TmpTransferDir>AUTOTRANSFER-TMP</TmpTransferDir> - - <!-- ServiceTimer: interval (in ms) for checking files and parameters --> - <ServiceTimer>1000</ServiceTimer> - - <!-- MaxCpuUsage: pause transfer if CPU usage is above this value (in %) --> - <MaxCpuUsage>25</MaxCpuUsage> - <!-- MinAvailableMemory: pause transfer if free RAM is below (in MB) --> - <MinAvailableMemory>512</MinAvailableMemory> - - <SpaceMonitoring> - <DriveToCheck> - <DriveName>C:</DriveName> - <SpaceThreshold>20000</SpaceThreshold> - </DriveToCheck> - <DriveToCheck> - <DriveName>D:</DriveName> - <SpaceThreshold>120000</SpaceThreshold> - </DriveToCheck> - </SpaceMonitoring> - <!-- StorageNotificationDelta: how often to send storage notification mails - in case one of the drives is below the threshold (in minutes) --> - <StorageNotificationDelta>5</StorageNotificationDelta> - - <BlacklistedProcesses> - <ProcessName>calc</ProcessName> - <ProcessName>notepad</ProcessName> - <ProcessName>wordpad</ProcessName> - </BlacklistedProcesses> - - <!-- SendAdminNotification: send email to user on finished transfers --> - <SendTransferNotification>true</SendTransferNotification> - <EmailFrom>admin@mydomain.xy</EmailFrom> - - <!-- SendAdminNotification: notify admins via email of certain events --> - <SendAdminNotification>true</SendAdminNotification> - <!-- AdminNotificationDelta: how long to wait (in minutes) after sending an - admin notification before sending the next one --> - <AdminNotificationDelta>60</AdminNotificationDelta> - - - <!-- OPTIONAL CONFIGURATION SETTINGS --> - - <!-- SmtpHost: SMTP server hostname --> - <SmtpHost>smtp.mydomain.xy</SmtpHost> - <!-- SmtpPort: SMTP server port, defaults to 25 if omitted --> - <SmtpPort>25</SmtpPort> - <!-- SmtpUserCredential: SMTP user name if authentication required --> - <SmtpUserCredential /> - <!-- SmtpPasswortCredential: SMTP password if authentication required --> - <SmtpPasswortCredential /> - - <!-- EmailPrefix: prefix label for email subjects --> - <EmailPrefix>[Core Facility] </EmailPrefix> - <AdminEmailAdress>admin@mydomain.xy</AdminEmailAdress> - <!-- AdminDebugEmailAdress: an email address where to send certain debug - messages to, e.g. on completed transfers. Can be empty. --> - <AdminDebugEmailAdress>admin@mydomain.xy</AdminDebugEmailAdress> - - <!-- GraceNotificationDelta: minimum time (in minutes) between two emails - about expired folders in the grace location (default: 720 (12h)) --> - <GraceNotificationDelta>720</GraceNotificationDelta> - - <!-- InterPacketGap: RoboCopy parameter to limit the bandwidth --> - <InterPacketGap>0</InterPacketGap> - - <!-- EnforceInheritedACLs: whether to enforce ACL inheritance when moving - files and directories, see this page for details (DEFAULT: true) - https://support.microsoft.com/en-us/help/320246 --> - <EnforceInheritedACLs>false</EnforceInheritedACLs> - - <!-- OPTIONAL CONFIGURATION SETTINGS --> -</ServiceConfig> \ No newline at end of file diff --git a/Resources/status-example.xml b/Resources/status-example.xml deleted file mode 100644 index 51c6b289db46f2b06e885c153fd157ea819a5f1f..0000000000000000000000000000000000000000 --- a/Resources/status-example.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<ServiceStatus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - <LastStatusUpdate>0001-01-01T00:00:00</LastStatusUpdate> - <LastStorageNotification>0001-01-01T00:00:00</LastStorageNotification> - <LastAdminNotification>0001-01-01T00:00:00</LastAdminNotification> - <LimitReason /> - <CurrentTransferSrc /> - <CurrentTargetTmp /> - <ServiceSuspended>false</ServiceSuspended> - <TransferInProgress>false</TransferInProgress> - <CleanShutdown>true</CleanShutdown> - <CurrentTransferSize>0</CurrentTransferSize> -</ServiceStatus> \ No newline at end of file