sandcastle-ng

Scripts for the deployment of Sandcastle (GNU Taler)
Log | Files | Refs | README

commit b3dc8c7fb7676d243acd4c9169f8bc1a1f6f08e6
parent 2da6a973c48105df96d92cbe638ba419a9f6c366
Author: Devan Carpenter <devan@taler.net>
Date:   Wed, 12 Feb 2025 11:01:39 +0100

use systemd specifer for home dir in exec path

we should rely on systemd unit specifiers where possible, so as not to
hardcode paths.

https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Specifiers

Diffstat:
Mhost/container-taler-sandcastle-demo.service | 2+-
Mhost/container-taler-sandcastle-head.service | 2+-
Mhost/container-taler-sandcastle-kyctest.service | 2+-
Mhost/container-taler-sandcastle-liebe.service | 2+-
Mhost/container-taler-sandcastle-test.service | 2+-
5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/host/container-taler-sandcastle-demo.service b/host/container-taler-sandcastle-demo.service @@ -20,7 +20,7 @@ Environment=SANDCASTLE_PORT_CHALLENGER=127.0.0.1:15003 Environment=SANDCASTLE_PORT_AUDITOR=127.0.0.1:15004 Restart=on-failure TimeoutStopSec=70 -ExecStart=/home/taler-demo/sandcastle-ng/sandcastle-run +ExecStart=%h/sandcastle-ng/sandcastle-run ExecStop=/usr/bin/podman stop \ taler-sandcastle Type=notify diff --git a/host/container-taler-sandcastle-head.service b/host/container-taler-sandcastle-head.service @@ -20,7 +20,7 @@ Environment=SANDCASTLE_PORT_CHALLENGER=127.0.0.1:17010 Environment=SANDCASTLE_PORT_AUDITOR=127.0.0.1:17011 Restart=on-failure TimeoutStopSec=70 -ExecStart=/home/head/sandcastle-ng/sandcastle-run +ExecStart=%h/sandcastle-ng/sandcastle-run ExecStop=/usr/bin/podman stop \ taler-sandcastle Type=notify diff --git a/host/container-taler-sandcastle-kyctest.service b/host/container-taler-sandcastle-kyctest.service @@ -20,7 +20,7 @@ Environment=SANDCASTLE_PORT_CHALLENGER=127.0.0.1:16410 Environment=SANDCASTLE_PORT_AUDITOR=127.0.0.1:16411 Restart=on-failure TimeoutStopSec=70 -ExecStart=/home/taler-kyctest/sandcastle-ng/sandcastle-run +ExecStart=%h/sandcastle-ng/sandcastle-run ExecStop=/usr/bin/podman stop \ taler-sandcastle Type=notify diff --git a/host/container-taler-sandcastle-liebe.service b/host/container-taler-sandcastle-liebe.service @@ -18,7 +18,7 @@ Environment=SANDCASTLE_PORT_LIBEUFIN_BANK=127.0.0.1:26007 Environment=SANDCASTLE_PORT_BANK_SPA=127.0.0.1:26009 Restart=on-failure TimeoutStopSec=70 -ExecStart=/home/taler-test/sandcastle-ng/sandcastle-run +ExecStart=%h/sandcastle-ng/sandcastle-run ExecStop=/usr/bin/podman stop \ taler-sandcastle Type=notify diff --git a/host/container-taler-sandcastle-test.service b/host/container-taler-sandcastle-test.service @@ -20,7 +20,7 @@ Environment=SANDCASTLE_PORT_CHALLENGER=127.0.0.1:16010 Environment=SANDCASTLE_PORT_AUDITOR=127.0.0.1:16011 Restart=on-failure TimeoutStopSec=70 -ExecStart=/home/taler-test/sandcastle-ng/sandcastle-run +ExecStart=%h/sandcastle-ng/sandcastle-run ExecStop=/usr/bin/podman stop \ taler-sandcastle Type=notify