diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-06-07 12:21:06 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-06-07 12:21:06 +0200 |
commit | e5ebaa6a960488087750481f0349e3886b36b6ba (patch) | |
tree | 7789a4a2e423bd7085cafbfc5340cbf939e44b95 /config/generate-config | |
parent | 402ffa48dbb4064028e275b6ca417d2779c2adad (diff) | |
download | deployment-e5ebaa6a960488087750481f0349e3886b36b6ba.tar.gz deployment-e5ebaa6a960488087750481f0349e3886b36b6ba.tar.bz2 deployment-e5ebaa6a960488087750481f0349e3886b36b6ba.zip |
Configuring the Twister.
Diffstat (limited to 'config/generate-config')
-rwxr-xr-x | config/generate-config | 10 |
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") |