summaryrefslogtreecommitdiff
path: root/config/generate-config
diff options
context:
space:
mode:
Diffstat (limited to 'config/generate-config')
-rwxr-xr-xconfig/generate-config10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/generate-config b/config/generate-config
index 715823a..031b6f8 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -48,6 +48,16 @@ def config(currency, envname, exchange_pub, standalone):
cfg_put("paths", "TALER_DEPLOYMENT_SHARED", "${HOME}/shared-data")
cfg_put("taler", "CURRENCY", currency)
+ # Twisting the merchant backend responses.
+ if "test" == envname:
+ cfg_put("twister", "serve", "unix")
+ cfg_put("twister", "destination_base_url", "https://backend.test.taler.net/")
+ cfg_put("twister", "serve_unixpath", "${HOME}/sockets/twister.http")
+ cfg_put("twister", "serve_unixmode", "660")
+ cfg_put("twister", "unixpath", "${HOME}/sockets/twister-control.sock")
+ cfg_put("twister", "unix_match_uid", "no")
+ cfg_put("twister", "unix_match_gid", "yes")
+
cfg_put("bank", "serve", "uwsgi")
cfg_put("bank", "uwsgi_serve", "unix")
cfg_put("bank", "uwsgi_unixpath", "$HOME/sockets/bank.uwsgi")