taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 43bf5cc1bb63fb2d05635aa79686b7299c96d374
parent 60d32ed5f36dd478e7e91118d66acc9e4d2e2392
Author: ms <ms@taler.net>
Date:   Mon, 24 Jan 2022 16:20:50 +0100

deploying taler-exchange-transfer

Diffstat:
Mbin/WIP/taler-local | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/bin/WIP/taler-local b/bin/WIP/taler-local @@ -1133,6 +1133,12 @@ def prepare(x_forwarded_host, x_forwarded_proto, postgres_db_name): cmd = f"{TALER_PREFIX}/bin/taler-exchange-aggregator -L DEBUG -c {CFG_OUTDIR / 'taler.conf'}", env = TALER_UNIT_FILES_DIR / "taler-local-postgres.env" if os.environ.get("PGPORT") else None )) + with open(TALER_UNIT_FILES_DIR / "taler-local-exchange-transfer.service", "w") as exchange_transfer_unit: + exchange_transfer_unit.write(unit_file_content( + description = "Taler Exchange Transfer", + cmd = f"{TALER_PREFIX}/bin/taler-exchange-transfer -L DEBUG -c {CFG_OUTDIR / 'taler.conf'}", + env = TALER_UNIT_FILES_DIR / "taler-local-postgres.env" if os.environ.get("PGPORT") else None + )) with open(TALER_UNIT_FILES_DIR / "taler-local-exchange-secmod-rsa.service", "w") as exchange_rsa_unit: exchange_rsa_unit.write(unit_file_content( description = "Taler Exchange RSA security module", @@ -1703,6 +1709,7 @@ def launch(): subprocess.run(["systemctl", "--user", "start", "taler-local-exchange-httpd.service"], check=True) subprocess.run(["systemctl", "--user", "start", "taler-local-exchange-wirewatch.service"], check=True) subprocess.run(["systemctl", "--user", "start", "taler-local-exchange-aggregator.service"], check=True) + subprocess.run(["systemctl", "--user", "start", "taler-local-exchange-transfer.service"], check=True) subprocess.run(["systemctl", "--user", "start", "taler-local-merchant-backend.service"], check=True) subprocess.run(["systemctl", "--user", "start", "taler-local-sandbox.service"], check=True) subprocess.run(["systemctl", "--user", "start", "taler-local-nexus.service"], check=True)