gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: taler-local: fix scope


From: gnunet
Subject: [taler-deployment] branch master updated: taler-local: fix scope
Date: Wed, 01 Dec 2021 18:15:46 +0100

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new fc3f7cc  taler-local: fix scope
fc3f7cc is described below

commit fc3f7cc90ac6346b66d75f402393953205f5b1a6
Author: ms <ms@taler.net>
AuthorDate: Wed Dec 1 18:15:32 2021 +0100

    taler-local: fix scope
---
 bin/WIP/taler-local | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/bin/WIP/taler-local b/bin/WIP/taler-local
index bdc732d..42baf2a 100755
--- a/bin/WIP/taler-local
+++ b/bin/WIP/taler-local
@@ -680,6 +680,9 @@ def prepare(x_forwarded_host, x_forwarded_proto):
     TALER_DATA_DIR = TALER_ROOT_DIR / "data"
     TALER_UNIT_FILES_DIR = systemd_user_dir = Path.home() / ".config" / 
"systemd" / "user"
 
+    def get_link(path = ""):
+       return x_forwarded_proto + "://" + x_forwarded_host + path
+
     def create_tip_reserve():
         payto = Command([
             "taler-merchant-setup-reserve",
@@ -1058,9 +1061,6 @@ def prepare(x_forwarded_host, x_forwarded_proto):
         shutil.rmtree(CFG_OUTDIR)
     print(" OK")
 
-    def get_link(path = ""):
-       return x_forwarded_proto + "://" + x_forwarded_host + path
-
     print_nn("Generate preliminary taler.conf...")
     mc = config_main(
         "taler.conf",
@@ -1254,6 +1254,7 @@ def prepare(x_forwarded_host, x_forwarded_proto):
 
     print_nn("Launching X-Forwarded-Host port redirect...")
     subprocess.run(["systemctl", "--user", "start", 
"taler-local-port-redirect.service"], check=True)
+    time.sleep(1)
     print(" OK")
     print_nn("Launching the reverse proxy...")
     with open(CFG_OUTDIR / "nginx.conf", "w") as nginx_conf:

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]