This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
This setting controls where AyaNova stores user uploaded files used by features that allow file attachment or uploads.
|
||||
AyaNova stores these files with random names in the folder specified.
|
||||
|
||||
Warning: this folder MUST NOT be the same location set for [AYANOVA_BACKUP_FILES_PATH](ops-config-folder-backup-files.md) or [AYANOVA_TEMP_FILES_PATH](ops-config-folder-temporary-files.md) or AyaNova will not start.
|
||||
Warning: this folder MUST NOT be the same location set for [AYANOVA_BACKUP_FILES_PATH](ops-config-folder-backup-files.md) or [AYANOVA_TEMP_FILES_PATH](ops-config-folder-temporary-files.md) or AyaNova will not start.
|
||||
|
||||
## Default
|
||||
|
||||
@@ -11,13 +11,22 @@ If no override is specified AyaNova will store user files in a `attachments` fol
|
||||
|
||||
## Overriding
|
||||
|
||||
AyaNova expects the user files folder path to be provided by an environment variable or command line parameter named
|
||||
AyaNova expects the user files folder path to be provided by a config.json property, environment variable or command line parameter named
|
||||
|
||||
`AYANOVA_ATTACHMENT_FILES_PATH`
|
||||
|
||||
The value specified should be a string containing a fully qualified file path for the platform, for example:
|
||||
`c:\ProgramData\ayanova\attachments`
|
||||
|
||||
Example config.json entry
|
||||
|
||||
```json
|
||||
{
|
||||
...other properties...
|
||||
"AYANOVA_ATTACHMENT_FILES_PATH": "c:\ProgramData\ayanova\attachments"
|
||||
}
|
||||
```
|
||||
|
||||
Example command line parameter
|
||||
|
||||
`ayanova.exe --AYANOVA_ATTACHMENT_FILES_PATH="/var/lib/ayanova/attachments"`
|
||||
@@ -31,5 +40,3 @@ Windows
|
||||
Linux / MAC
|
||||
|
||||
`export AYANOVA_ATTACHMENT_FILES_PATH="/var/lib/ayanova/attachments"`
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user