taler-merchant-demos

Python-based Frontends for the Demonstration Web site
Log | Files | Refs | Submodules | README | LICENSE

commit 30bad63dacae699e5256fd6d6e27a968ad6cce30
parent ecc109654741f05a31a83727387e5e60272bebcf
Author: Florian Dold <florian.dold@gmail.com>
Date:   Tue, 25 Aug 2020 18:15:32 +0530

exit if Web app has configuration error

Diffstat:
Mbin/taler-merchant-demos | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/bin/taler-merchant-demos b/bin/taler-merchant-demos @@ -47,6 +47,7 @@ def handle_serve_uwsgi(config, whichShop): "--die-on-term", "--log-format", UWSGI_LOGFMT, "--module", "talermerchantdemos.{}:app".format(whichShop), + "--need-app", "--cache2", "name=paid_articles,items=500"] if serve_uwsgi == "tcp": port = config[whichShop]["uwsgi_port"].value_int(required=True) @@ -75,6 +76,7 @@ def handle_serve_http(config, whichShop, port=None): "--die-on-term", "--log-format", UWSGI_LOGFMT, "--http", spec, + "--need-app", "--module", "talermerchantdemos.{}:app".format(whichShop)) @click.command("Global shop launcher")