summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-04-26 10:58:35 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-04-26 10:58:35 +0200
commit2deef7b1d4d1cc24c72d872fd2302e25523ad350 (patch)
tree120853896d9b8dd63573953db843f07bef8e03c4 /config
parent52c3343e4060fc68378cecc2bda6c0916a43acc9 (diff)
downloaddeployment-2deef7b1d4d1cc24c72d872fd2302e25523ad350.tar.gz
deployment-2deef7b1d4d1cc24c72d872fd2302e25523ad350.tar.bz2
deployment-2deef7b1d4d1cc24c72d872fd2302e25523ad350.zip
db connection string is now 'config'
Diffstat (limited to 'config')
-rwxr-xr-xconfig/generate-config4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/generate-config b/config/generate-config
index 89fcb6c..f9b8fe9 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -135,10 +135,14 @@ def config(currency, envname, exchange_pub, standalone):
if standalone:
cfg_put("exchangedb-postgres", "db_conn_str", "postgres:///taler?host={}/sockets".format(os.getenv("HOME")))
+ cfg_put("exchangedb-postgres", "config", "postgres:///taler?host={}/sockets".format(os.getenv("HOME")))
cfg_put("auditordb-postgres", "db_conn_str", "postgres:///taler?host={}/sockets".format(os.getenv("HOME")))
+ cfg_put("auditordb-postgres", "config", "postgres:///taler?host={}/sockets".format(os.getenv("HOME")))
else:
cfg_put("exchangedb-postgres", "db_conn_str", "postgres:///taler{}".format(envname))
+ cfg_put("exchangedb-postgres", "config", "postgres:///taler{}".format(envname))
cfg_put("auditordb-postgres", "db_conn_str", "postgres:///taler{}".format(envname))
+ cfg_put("auditordb-postgres", "config", "postgres:///taler{}".format(envname))
if standalone:
cfg_put("exchange-wire-test", "bank_url", "https://env.taler.net/{}/bank/".format(envname))