#!/usr/bin/env bash
set -eu
base=$HOME
export PATH="$base/deployment":$PATH
ulimit -c $((100 * 1024))
cd $HOME
if [[ ! -e ~/.config/taler.conf ]]; then
taler-deployment-config-generate
fi
taler-deployment-config-sign
taler-deployment-arm -s
if [ "${TALER_CONFIG_STANDALONE:-0}" = 1 ]; then
taler-deployment-arm -i taler-postgres-standalone
fi