1.2 KiB
TEMPORARY SERVER FILES FOLDER SETTING
This setting controls where AyaNova stores files temporarily while servicing requests such as report generation etc.
Warning: this folder MUST NOT be the same location set for AYANOVA_ATTACHMENT_FILES_PATH or AYANOVA_BACKUP_FILES_PATH or AyaNova will not start.
Default
If no override is specified AyaNova will store temporary files in a tempfiles folder in the location specified by AYANOVA_DATA_PATH setting.
Overriding
AyaNova expects the temporary files folder path to be provided by an 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 command line parameter
ayanova.exe --AYANOVA_TEMP_FILES_PATH="/var/lib/ayanova/tempfiles"
Example environment variable
Windows
set "AYANOVA_TEMP_FILES_PATH=c:\ProgramData\ayanova\tempfiles"
Linux / MAC
export AYANOVA_TEMP_FILES_PATH="/var/lib/ayanova/tempfiles"
If both a command line parameter and an environment variable are set the command line parameter takes precedence.