#!/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 # In order to reach the bank, the setup step needs to provide # the section [ebics-setup]. This is a manual process that is # to be conducted separately. echo -e "[nexus-postgres]\n"\ "config = postgresql:///libeufinbank" \ >> /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