ops: goa-regio-ng default CTR for ensure/systemd bank+merchant apps
This commit is contained in:
parent
06ce2c58d1
commit
65bcddc185
8 changed files with 53 additions and 18 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[Unit]
|
||||
# Paivana needs merchant private API — start after merchant apps, not only container shell
|
||||
After=taler-merchant-apps.service container-taler-hacktivism.service
|
||||
After=taler-merchant-apps.service goa-regio-ng.service
|
||||
Wants=taler-merchant-apps.service
|
||||
|
|
|
|||
15
configs/systemd/user/goa-regio-ng.service
Normal file
15
configs/systemd/user/goa-regio-ng.service
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=goa-regio-ng Taler AIO container (vanilla live 9010-9015)
|
||||
Documentation=file:%h/src/koopa/koopa-admin-log/scripts/taler-shared/goa-regio-ng/README.md
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
TimeoutStartSec=120
|
||||
ExecStart=/usr/bin/podman start goa-regio-ng
|
||||
ExecStop=/usr/bin/podman stop -t 20 goa-regio-ng
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
4
configs/systemd/user/goa-regio-ng.service.d/apps.conf
Normal file
4
configs/systemd/user/goa-regio-ng.service.d/apps.conf
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[Unit]
|
||||
# Pull in in-container bank/merchant apps after the AIO shell is up
|
||||
Wants=taler-bank-apps.service taler-merchant-apps.service
|
||||
Before=taler-bank-apps.service taler-merchant-apps.service
|
||||
|
|
@ -1,13 +1,14 @@
|
|||
[Unit]
|
||||
Description=Start Taler bank apps inside taler-hacktivism-bank
|
||||
Description=Start Taler bank apps inside goa-regio-ng (auto-confirm + demo-withdraw)
|
||||
Documentation=file:%h/src/koopa/koopa-admin-log/scripts/taler-shared/ensure-taler-apps.sh
|
||||
After=network-online.target container-taler-hacktivism-bank.service
|
||||
Wants=network-online.target container-taler-hacktivism-bank.service
|
||||
After=network-online.target goa-regio-ng.service
|
||||
Wants=network-online.target goa-regio-ng.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
TimeoutStartSec=300
|
||||
EnvironmentFile=-%h/.config/taler-landing/stack.env
|
||||
ExecStart=%h/.local/bin/ensure-taler-apps.sh bank
|
||||
|
||||
[Install]
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ Description=Taler landing stats (bank full scan + exchange/merchant)
|
|||
Documentation=file:%h/src/koopa/koopa-admin-log/scripts/taler-landing/README.md
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
# Prefer after containers are up (ignore if unit names differ)
|
||||
After=container-taler-hacktivism-bank.service container-taler-hacktivism.service
|
||||
# Prefer after AIO container + in-container apps are up
|
||||
After=goa-regio-ng.service
|
||||
After=taler-bank-apps.service taler-merchant-apps.service
|
||||
|
||||
[Service]
|
||||
|
|
|
|||
|
|
@ -1,14 +1,15 @@
|
|||
[Unit]
|
||||
Description=Start Taler merchant apps inside taler-hacktivism
|
||||
Description=Start Taler merchant apps inside goa-regio-ng
|
||||
Documentation=file:%h/src/koopa/koopa-admin-log/scripts/taler-shared/ensure-taler-apps.sh
|
||||
After=network-online.target container-taler-hacktivism.service
|
||||
Wants=network-online.target container-taler-hacktivism.service
|
||||
After=network-online.target goa-regio-ng.service
|
||||
Wants=network-online.target goa-regio-ng.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
# Merchant start_base + helpers can take a while after cold boot
|
||||
TimeoutStartSec=300
|
||||
EnvironmentFile=-%h/.config/taler-landing/stack.env
|
||||
ExecStart=%h/.local/bin/ensure-taler-apps.sh merchant
|
||||
|
||||
[Install]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue