summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/config.h b/config.h
index 4b1ade5..74c8a2e 100644
--- a/config.h
+++ b/config.h
@@ -31,7 +31,21 @@
#ifndef VAULT_CONFIG_H
#define VAULT_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 "/var/www/vault-data"
+#endif
+
+/*
+ * The log file. The vault process needs write permissions to this file,
+ * otherwise it will quit with an error.
+ */
+#ifndef LOG_FILE
#define LOG_FILE "/var/log/vault.log"
+#endif
#endif /* VAULT_CONFIG_H */