summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/taler-merchant-demos3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/taler-merchant-demos b/bin/taler-merchant-demos
index 780582c..7ed69d7 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)
@@ -97,7 +98,7 @@ def handle_serve_http(config, whichShop, port=None):
@click.argument("which-shop")
def demos(config, serve_http, port, serve_uwsgi, which_shop):
"""
- WHICHSHOP is one of: blog, donations, or survey.
+ WHICH_SHOP is one of: blog, donations, or survey.
"""
if config:
os.environ["TALER_CONFIG_FILE"] = config