This commit is contained in:
@@ -15,7 +15,7 @@ AyaNova expects the backup files folder path to be provided by an environment va
|
||||
`AYANOVA_BACKUP_FILES_PATH`
|
||||
|
||||
The value specified should be a string containing a fully qualified file path for the platform, for example:
|
||||
`c:\data\ayanova\backupfiles`
|
||||
`c:\ProgramData\ayanova\backupfiles`
|
||||
|
||||
Example command line parameter
|
||||
|
||||
@@ -25,7 +25,7 @@ Example environment variable
|
||||
|
||||
Windows
|
||||
|
||||
`set "AYANOVA_BACKUP_FILES_PATH=c:\data\ayanova\backupfiles"`
|
||||
`set "AYANOVA_BACKUP_FILES_PATH=c:\ProgramData\ayanova\backupfiles"`
|
||||
|
||||
Linux / MAC
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ AyaNova expects the temporary files folder path to be provided by an environment
|
||||
`AYANOVA_TEMP_FILES_PATH`
|
||||
|
||||
The value specified should be a string containing a fully qualified file path for the platform, for example:
|
||||
`c:\data\ayanova\tempfiles`
|
||||
`c:\ProgramData\ayanova\tempfiles`
|
||||
|
||||
Example command line parameter
|
||||
|
||||
@@ -25,7 +25,7 @@ Example environment variable
|
||||
|
||||
Windows
|
||||
|
||||
`set "AYANOVA_TEMP_FILES_PATH=c:\data\ayanova\tempfiles"`
|
||||
`set "AYANOVA_TEMP_FILES_PATH=c:\ProgramData\ayanova\tempfiles"`
|
||||
|
||||
Linux / MAC
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# USER FILES FOLDER SETTING
|
||||
# ATTACHMENTS FOLDER SETTING
|
||||
|
||||
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.
|
||||
@@ -7,7 +7,7 @@ Warning: this folder MUST NOT be the same location set for [AYANOVA_BACKUP_FILES
|
||||
|
||||
## Default
|
||||
|
||||
If no override is specified AyaNova will store user files in a `userfiles` folder in the location specified by [AYANOVA_DATA_PATH](ops-config-data-path.md) setting.
|
||||
If no override is specified AyaNova will store user files in a `attachments` folder in the location specified by [AYANOVA_DATA_PATH](ops-config-data-path.md) setting.
|
||||
|
||||
## Overriding
|
||||
|
||||
@@ -16,20 +16,20 @@ AyaNova expects the user files folder path to be provided by an environment vari
|
||||
`AYANOVA_ATTACHMENT_FILES_PATH`
|
||||
|
||||
The value specified should be a string containing a fully qualified file path for the platform, for example:
|
||||
`c:\data\ayanova\userfiles`
|
||||
`c:\ProgramData\ayanova\attachments`
|
||||
|
||||
Example command line parameter
|
||||
|
||||
`ayanova.exe --AYANOVA_ATTACHMENT_FILES_PATH="/var/lib/ayanova/userfiles"`
|
||||
`ayanova.exe --AYANOVA_ATTACHMENT_FILES_PATH="/var/lib/ayanova/attachments"`
|
||||
|
||||
Example environment variable
|
||||
|
||||
Windows
|
||||
|
||||
`set "AYANOVA_ATTACHMENT_FILES_PATH=c:\data\ayanova\userfiles"`
|
||||
`set "AYANOVA_ATTACHMENT_FILES_PATH=c:\ProgramData\ayanova\attachments"`
|
||||
|
||||
Linux / MAC
|
||||
|
||||
`export AYANOVA_ATTACHMENT_FILES_PATH="/var/lib/ayanova/userfiles"`
|
||||
`export AYANOVA_ATTACHMENT_FILES_PATH="/var/lib/ayanova/attachments"`
|
||||
|
||||
If both a command line parameter and an environment variable are set the command line parameter takes precedence.
|
||||
|
||||
Reference in New Issue
Block a user