#!/bin/bash # This file is in the public domain. # # This script configure and launches libeufin-bank. # The setup provides the admin account at the bank, and # another account for the exchange at the bank. # # The environment must provide the following variables: set -eu source functions.sh source config/user.conf taler-config -s nexus-postgres -o config \ -V "postgresql:///libeufin" -c /etc/libeufin/libeufin-nexus.conf taler-config -s nexus-ebics -o currency \ -V $FIAT_CURRENCY -c /etc/libeufin/libeufin-nexus.conf say "Setting up libeufin-nexus database" libeufin-nexus-dbconfig say "Start nexus tasks..." systemctl enable --now libeufin-nexus-ebics-fetch systemctl enable --now libeufin-nexus-ebics-submit