From 4143e3c430d240c68797f432c0f6b9efead362ce Mon Sep 17 00:00:00 2001 From: MS Date: Thu, 25 Aug 2022 10:40:45 +0200 Subject: fix env --- bin/taler-gv | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/taler-gv b/bin/taler-gv index 4b268ea..dec575f 100755 --- a/bin/taler-gv +++ b/bin/taler-gv @@ -1187,7 +1187,6 @@ def prepare(postgres_db_name): )) # euFin env files. with open(TALER_UNIT_FILES_DIR / "taler-local-sandbox.env", "w") as sandbox_env: - sandbox_env.write(f"PYTHONUSERBASE={TALER_PREFIX}\n") sandbox_env.write(f"LIBEUFIN_SANDBOX_DB_CONNECTION=jdbc:sqlite:{SANDBOX_DB_FILE}\n") sandbox_env.write(f"LIBEUFIN_SANDBOX_ADMIN_PASSWORD={SANDBOX_ADMIN_PASSWORD}\n") # The following populates the bank UI navigation bar. @@ -1225,12 +1224,14 @@ def prepare(postgres_db_name): with open(TALER_UNIT_FILES_DIR / "taler-local-landing.service", "w") as landing_unit: landing_unit.write(unit_file_content( description = "Landing Website of Taler demo.", - cmd = f"{TALER_PREFIX}/bin/taler-merchant-demos landing -c {CFG_OUTDIR / 'taler.conf'}", + cmd = f"{TALER_PREFIX}/bin/taler-merchant-demos landing", + # cmd = f"{TALER_PREFIX}/bin/taler-merchant-demos landing -c {CFG_OUTDIR / 'taler.conf'}", env = TALER_UNIT_FILES_DIR / "taler-local-frontends.env" )) with open(TALER_UNIT_FILES_DIR / "taler-local-frontends.env", "w") as frontends_env: # To populate the navigation bar: frontends_env.write(( + f"PYTHONUSERBASE={TALER_PREFIX}\n" f"PATH={os.environ.get('PATH')}\n" f"TALER_CONFIG_FILE={CFG_OUTDIR / 'taler.conf'}\n" f"TALER_ENV_URL_INTRO=https://demo.taler.net/\n" -- cgit v1.2.3