ops: taler-bank auto-confirm + systemd units + README
This commit is contained in:
parent
281873a955
commit
7691ac3065
4 changed files with 89 additions and 13 deletions
|
|
@ -0,0 +1,19 @@
|
|||
[Unit]
|
||||
Description=GOA bank auto-confirm explorer withdrawals
|
||||
After=network.target libeufin-bank.service goa-demo-withdraw-api.service
|
||||
Wants=libeufin-bank.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment=QUIET=1
|
||||
Environment=WATCH_MAX=80
|
||||
Environment=BANK_URL=http://127.0.0.1:9012
|
||||
ExecStart=/usr/local/bin/auto-confirm-withdrawals.sh --loop 2
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
# flock inside script; StandardOutput goes to journal + optional file via install
|
||||
StandardOutput=append:/var/log/auto-confirm-withdrawals.log
|
||||
StandardError=append:/var/log/auto-confirm-withdrawals.log
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue