This commit is contained in:
2021-12-14 16:07:01 +00:00
parent 855bd9ca59
commit 5e8e583018
14 changed files with 109 additions and 40 deletions

View File

@@ -10,13 +10,22 @@ If no override is specified AyaNova will store temporary files in a `tempfiles`
## Overriding
AyaNova expects the temporary files folder path to be provided by an environment variable or command line parameter named
AyaNova expects the temporary files folder path to be provided by a config.json property, environment variable or command line parameter named
`AYANOVA_TEMP_FILES_PATH`
The value specified should be a string containing a fully qualified file path for the platform, for example:
`c:\ProgramData\ayanova\tempfiles`
Example config.json entry
```json
{
...other properties...
"AYANOVA_TEMP_FILES_PATH": "c:\ProgramData\ayanova\tempfiles"
}
```
Example command line parameter
`ayanova.exe --AYANOVA_TEMP_FILES_PATH="/var/lib/ayanova/tempfiles"`
@@ -30,5 +39,3 @@ Windows
Linux / MAC
`export AYANOVA_TEMP_FILES_PATH="/var/lib/ayanova/tempfiles"`