diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-08-23 20:56:46 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-08-23 20:56:46 +0200 |
commit | 74b34068532d4340441844d6214d41ddb5727984 (patch) | |
tree | bc1734821454a8bef7632e148196846f245787f7 /bin | |
parent | 7a82f8cd9564e57d746d6dd84308d05e24b8c1e6 (diff) | |
download | deployment-74b34068532d4340441844d6214d41ddb5727984.tar.gz deployment-74b34068532d4340441844d6214d41ddb5727984.tar.bz2 deployment-74b34068532d4340441844d6214d41ddb5727984.zip |
-remove obsolete options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/taler-deployment-config-generate | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/bin/taler-deployment-config-generate b/bin/taler-deployment-config-generate index 8be0c5a..f96525e 100755 --- a/bin/taler-deployment-config-generate +++ b/bin/taler-deployment-config-generate @@ -72,15 +72,8 @@ def config(obj): obj.cfg_put("paths", "TALER_RUNTIME_DIR", "${HOME}/taler-runtime") obj.cfg_put("taler", "CURRENCY", obj.currency) obj.cfg_put("taler", "CURRENCY_ROUND_UNIT", f"{obj.currency}:0.01") - if obj.envname != "local": - obj.cfg_put("bank", "serve", "uwsgi") - obj.cfg_put("bank", "uwsgi_serve", "unix") - obj.cfg_put("bank", "uwsgi_unixpath", "$HOME/sockets/bank.uwsgi") - obj.cfg_put("bank", "uwsgi_unixpath_mode", "660") - else: - obj.cfg_put("bank", "serve", "http") - obj.cfg_put("bank", "http_port", get_port(urls["bank"])) - + obj.cfg_put("bank", "serve", "http") + obj.cfg_put("bank", "http_port", get_port(urls["bank"])) obj.cfg_put("bank", "max_debt", "%s:500.0" % obj.currency) obj.cfg_put("bank", "max_debt_bank", "%s:1000000000.0" % obj.currency) obj.cfg_put("bank", "allow_registrations", "YES") @@ -109,14 +102,6 @@ def config(obj): obj.cfg_put("survey", "uwsgi_unixpath_mode", "660") obj.cfg_put("survey", "bank_password", "x") - obj.cfg_put("backoffice-all", "backend", urls["merchant_backend"]) - - # Keep only one back-office service for all instances, for simplicity. - obj.cfg_put("backoffice-all", "uwsgi_serve", "unix") - obj.cfg_put("backoffice-all", "uwsgi_unixpath_mode", "660") - obj.cfg_put("backoffice-all", "uwsgi_unixpath", "$HOME/sockets/backoffice.uwsgi") - obj.cfg_put("backoffice-all", "instances", "FSF default Tor") - if obj.envname != "local": obj.cfg_put("merchant", "serve", "unix") obj.cfg_put("merchant", "unixpath", "$HOME/sockets/merchant.http") |