diff options
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 17 | 
1 files changed, 8 insertions, 9 deletions
| @@ -32,15 +32,6 @@  #define CONFIG_H  /* - * The directory that will be browseable through vault. The vault process - * should have full read/write access to this folder and any subfolders and - * files. - */ -#ifndef DATA_DIR -#define DATA_DIR "/vault-data" -#endif - -/*   * The log file. The vault process needs write permissions to this file,   * otherwise it will quit with an error.   */ @@ -53,4 +44,12 @@  #define TEMPLATE_DIR "/usr/share/vault/template"  #endif +/* + * The directory that will be browseable through vault. It is read from the env + * variable VAULT_DATA_DIR. The vault process should have full read/write + * access to this folder and any subfolders and files. + */ +char   * +config_data_dir(); +  #endif				/* CONFIG_H */ | 
