summaryrefslogtreecommitdiff
path: root/config/generate-config
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-06-08 13:45:41 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-06-08 13:45:41 +0200
commit611e60c3fa58fecc10a821d5b4e1d77eca5528a3 (patch)
tree53be93cb8bda0a6a4369660593aa99cd380f2f5c /config/generate-config
parenta30d49bccd6545d4b6d99785987777b4c452cd60 (diff)
downloaddeployment-611e60c3fa58fecc10a821d5b4e1d77eca5528a3.tar.gz
deployment-611e60c3fa58fecc10a821d5b4e1d77eca5528a3.tar.bz2
deployment-611e60c3fa58fecc10a821d5b4e1d77eca5528a3.zip
Avoid hardcoded paths
Diffstat (limited to 'config/generate-config')
-rwxr-xr-xconfig/generate-config2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/generate-config b/config/generate-config
index 2bc5e06..12fac57 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -150,6 +150,7 @@ def config(currency, envname, exchange_pub, standalone):
cfg_put("auditor", "serve", "unix")
cfg_put("auditor", "auditor_url", "https://auditor.{}.taler.net/service/".format(envname))
cfg_put("auditor", "unixpath", "$HOME/sockets/auditor.http")
+ cfg_put("auditor", "reports", "${TALER_DEPLOYMENT_SHARED}/auditor/reports")
cfg_put("exchange", "base_url", "https://exchange.{}.taler.net/".format(envname))
cfg_put("exchange", "serve", "unix")
@@ -161,6 +162,7 @@ def config(currency, envname, exchange_pub, standalone):
cfg_put("exchangedb", "auditor_base_dir", "${TALER_DEPLOYMENT_SHARED}/exchange/auditors/")
cfg_put("exchangedb", "wirefee_base_dir", "${TALER_DEPLOYMENT_SHARED}/exchange/wirefees/")
+ cfg_put("exchangedb", "auditor_inputs", "${TALER_DEPLOYMENT_SHARED}/exchange/auditor-inputs/")
if standalone:
cfg_put("exchangedb-postgres", "db_conn_str", "postgres:///taler?host={}/sockets".format(os.getenv("HOME")))