diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-25 18:15:32 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-25 18:15:44 +0530 |
commit | 30bad63dacae699e5256fd6d6e27a968ad6cce30 (patch) | |
tree | 6a69395b71e3daf930fd9c742855c068339b06e1 | |
parent | ecc109654741f05a31a83727387e5e60272bebcf (diff) | |
download | taler-merchant-demos-30bad63dacae699e5256fd6d6e27a968ad6cce30.tar.gz taler-merchant-demos-30bad63dacae699e5256fd6d6e27a968ad6cce30.tar.bz2 taler-merchant-demos-30bad63dacae699e5256fd6d6e27a968ad6cce30.zip |
exit if Web app has configuration errorv0.8.0-dev.1
-rwxr-xr-x | bin/taler-merchant-demos | 2 |
1 files changed, 2 insertions, 0 deletions
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") |