diff --git a/src/MCPClient/install/README.md b/src/MCPClient/install/README.md index b9f174f0e7..9099bf0b56 100644 --- a/src/MCPClient/install/README.md +++ b/src/MCPClient/install/README.md @@ -99,7 +99,7 @@ This is the full list of variables supported by MCPClient: - **Description:** location of the Archivematica Rejected Directory. - **Config file example:** `MCPClient.rejectedDirectory` - **Type:** `string` - - **Default:** `%%sharedPath%%rejected/` + - **Default:** `/var/archivematica/sharedDirectory/rejected/` - **`ARCHIVEMATICA_MCPCLIENT_MCPCLIENT_WATCHDIRECTORYPATH`**: - **Description:** location of the Archivematica Watched Directories. diff --git a/src/MCPClient/install/clientConfig.conf b/src/MCPClient/install/clientConfig.conf index 383f3d8e90..e2c88957db 100644 --- a/src/MCPClient/install/clientConfig.conf +++ b/src/MCPClient/install/clientConfig.conf @@ -3,7 +3,7 @@ MCPArchivematicaServer = localhost:4730 sharedDirectoryMounted = /var/archivematica/sharedDirectory/ watchDirectoryPath = /var/archivematica/sharedDirectory/watchedDirectories/ processingDirectory = /var/archivematica/sharedDirectory/currentlyProcessing/ -rejectedDirectory = %%sharedPath%%rejected/ +rejectedDirectory = /var/archivematica/sharedDirectory/rejected/ archivematicaClientModules = /usr/lib/archivematica/MCPClient/archivematicaClientModules clientScriptsDirectory = /usr/lib/archivematica/MCPClient/clientScripts/ clientAssetsDirectory = /usr/lib/archivematica/MCPClient/assets/ diff --git a/src/MCPClient/lib/settings/common.py b/src/MCPClient/lib/settings/common.py index 52f3907f27..ffb459975a 100644 --- a/src/MCPClient/lib/settings/common.py +++ b/src/MCPClient/lib/settings/common.py @@ -197,7 +197,7 @@ def _get_settings_from_file(path): sharedDirectoryMounted = /var/archivematica/sharedDirectory/ watchDirectoryPath = /var/archivematica/sharedDirectory/watchedDirectories/ processingDirectory = /var/archivematica/sharedDirectory/currentlyProcessing/ -rejectedDirectory = %%sharedPath%%rejected/ +rejectedDirectory = /var/archivematica/sharedDirectory/rejected/ archivematicaClientModules = /usr/lib/archivematica/MCPClient/archivematicaClientModules clientScriptsDirectory = /usr/lib/archivematica/MCPClient/clientScripts/ clientAssetsDirectory = /usr/lib/archivematica/MCPClient/assets/ diff --git a/src/MCPServer/install/README.md b/src/MCPServer/install/README.md index aef3898986..381ad95577 100644 --- a/src/MCPServer/install/README.md +++ b/src/MCPServer/install/README.md @@ -114,7 +114,7 @@ This is the full list of variables supported by MCPServer: - **Description:** location of the rejected directory. - **Config file example:** `MCPServer.rejectedDirectory` - **Type:** `string` - - **Default:** `"%%sharedPath%%rejected/"` + - **Default:** `"/var/archivematica/sharedDirectory/rejected/"` - **`ARCHIVEMATICA_MCPSERVER_MCPSERVER_WAITONAUTOAPPROVE`**: - **Description:** number of seconds that a thread will wait before attempting to approve a chain when it is pre-configured. diff --git a/src/MCPServer/install/serverConfig.conf b/src/MCPServer/install/serverConfig.conf index 7993549519..a7940e6c0b 100644 --- a/src/MCPServer/install/serverConfig.conf +++ b/src/MCPServer/install/serverConfig.conf @@ -3,7 +3,7 @@ MCPArchivematicaServer = localhost:4730 watchDirectoryPath = /var/archivematica/sharedDirectory/watchedDirectories/ sharedDirectory = /var/archivematica/sharedDirectory/ processingDirectory = /var/archivematica/sharedDirectory/currentlyProcessing/ -rejectedDirectory = %%sharedPath%%rejected/ +rejectedDirectory = /var/archivematica/sharedDirectory/rejected/ processingXMLFile = processingMCP.xml waitOnAutoApprove = 0 diff --git a/src/MCPServer/lib/settings/common.py b/src/MCPServer/lib/settings/common.py index 7dd02a3065..ba022432cd 100644 --- a/src/MCPServer/lib/settings/common.py +++ b/src/MCPServer/lib/settings/common.py @@ -136,7 +136,7 @@ watchDirectoryPath = /var/archivematica/sharedDirectory/watchedDirectories/ sharedDirectory = /var/archivematica/sharedDirectory/ processingDirectory = /var/archivematica/sharedDirectory/currentlyProcessing/ -rejectedDirectory = %%sharedPath%%rejected/ +rejectedDirectory = /var/archivematica/sharedDirectory/rejected/ watch_directory_method = poll watch_directory_interval = 1 processingXMLFile = processingMCP.xml