sandcastle-ng

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

commit 777d9630013c466da4e00dbba09ed06e80e8a76b
parent 624428bf8b56d468a1d791924146cc5dfa36eca7
Author: Devan Carpenter <devan@taler.net>
Date:   Sat, 17 Feb 2024 10:22:34 -0500

add head.taler.net unit file

Diffstat:
Asystemd/container-taler-sandcastle-head.service | 51+++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+), 0 deletions(-)

diff --git a/systemd/container-taler-sandcastle-head.service b/systemd/container-taler-sandcastle-head.service @@ -0,0 +1,51 @@ +# container-taler-sandcastle-head.service +# autogenerated by Podman 4.3.1 +# Tue Feb 17 19:32:43 CET 2024 + +[Unit] +Description=Podman container-taler-sandcastle-head.service +Documentation=man:podman-generate-systemd(1) +Wants=network-online.target +After=network-online.target +RequiresMountsFor=%t/containers + +[Service] +Environment=PODMAN_SYSTEMD_UNIT=%n +Restart=on-failure +TimeoutStopSec=70 +ExecStartPre=/bin/rm \ + -f %t/%n.ctr-id +ExecStart=/usr/bin/podman run \ + --cidfile=%t/%n.ctr-id \ + --cgroups=no-conmon \ + --rm \ + --sdnotify=conmon \ + --replace \ + -d \ + -p=17000:8301 \ + -p=17001:8201 \ + -p=17007:8080 \ + -p=17005:8501 \ + -p=17002:8502 \ + -p=17003:8503 \ + -p=17004:8504 \ + -p=17009:8505 \ + --name taler-sandcastle \ + --systemd=always \ + -v talerdata:/talerdata:Z \ + -v /home/head/sandcastle-ng/overrides/head.taler.net:/overrides:Z \ + -v /home/head/sandcastle-ng/scripts:/scripts:Z \ + -v /home/head/sandcastle-ng/scripts/demo:/provision:Z \ + --entrypoint /sbin/init taler-base-all-head:latest +ExecStop=/usr/bin/podman stop \ + --ignore -t 10 \ + --cidfile=%t/%n.ctr-id +ExecStopPost=/usr/bin/podman rm \ + -f \ + --ignore -t 10 \ + --cidfile=%t/%n.ctr-id +Type=notify +NotifyAccess=all + +[Install] +WantedBy=default.target