commit 2deef7b1d4d1cc24c72d872fd2302e25523ad350
parent 52c3343e4060fc68378cecc2bda6c0916a43acc9
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Thu, 26 Apr 2018 10:58:35 +0200
db connection string is now 'config'
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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))