[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: serve bank dual-stack
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: serve bank dual-stack |
Date: |
Thu, 16 Dec 2021 15:21:39 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new 5c8209b serve bank dual-stack
5c8209b is described below
commit 5c8209b5b9d53d9c98784d34dfbce70058cf5699
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Dec 16 15:21:33 2021 +0100
serve bank dual-stack
---
talerbank/cli.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/talerbank/cli.py b/talerbank/cli.py
index 4e7f301..d64ab05 100644
--- a/talerbank/cli.py
+++ b/talerbank/cli.py
@@ -109,7 +109,7 @@ def handle_serve_http(port):
TC = TalerConfig.from_file(os.environ.get("TALER_CONFIG_FILE"))
port = TC["bank"]["http_port"].value_int(required=True)
- httpspec = ":%d" % (port,)
+ httpspec = f"[::]:{port}"
params = [
"uwsgi",
"uwsgi",
@@ -152,7 +152,7 @@ def handle_serve_uwsgi():
]
if serve_uwsgi == "tcp":
port = TC["bank"]["uwsgi_port"].value_int(required=True)
- spec = ":%d" % (port,)
+ spec = f"[::]:{port}"
params.extend(["--socket", spec])
else:
spec = TC["bank"]["uwsgi_unixpath"].value_filename(required=True)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-bank] branch master updated: serve bank dual-stack,
gnunet <=