Automate Taler merchant and bank app start after container boot.
Containers only run sleep infinity; host ensure-taler-apps plus user systemd units start postgres, httpd, libeufin, and auto-confirm.
This commit is contained in:
parent
1aa4d1bab8
commit
bd5272ebac
7 changed files with 246 additions and 0 deletions
15
configs/systemd/user/taler-merchant-apps.service
Normal file
15
configs/systemd/user/taler-merchant-apps.service
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=Start Taler merchant apps inside taler-hacktivism
|
||||
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
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
# Merchant start_base + helpers can take a while after cold boot
|
||||
TimeoutStartSec=300
|
||||
ExecStart=%h/.local/bin/ensure-taler-apps.sh merchant
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue