summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/taler-merchant-demos2
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")