From 30bad63dacae699e5256fd6d6e27a968ad6cce30 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 25 Aug 2020 18:15:32 +0530 Subject: exit if Web app has configuration error --- bin/taler-merchant-demos | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/taler-merchant-demos') diff --git a/bin/taler-merchant-demos b/bin/taler-merchant-demos index de8fe21..cf56d81 100755 --- 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") -- cgit v1.2.3