taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 3e95fd6da24918c1e3cd281ca1d8527402d16158
parent 6984357a009dc8046574d96c70c1df0bcc9b10ab
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Mon, 10 Jun 2019 01:31:31 +0200

deploying tip-reserve's priv.

Diffstat:
Mbin/taler-deployment-keyup | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/bin/taler-deployment-keyup b/bin/taler-deployment-keyup @@ -29,6 +29,14 @@ EXCHANGE_URL=$(taler-config -s exchange -o base_url) EXCHANGE_LIVE_KEYS=$(taler-config -s exchange -o keydir -f) EXCHANGE_WIREFEES=$(taler-config -s exchangedb -o wirefee_base_dir -f) EXCHANGE_PRIV=$(taler-config -s exchange -o master_priv_file -f) +TIP_RESERVE_PRIV=$(taler-config -s instance-default -o tip_reserve_priv_filename -f) + +# Deploying merchant tip-reserve priv. +if ! test -f $TIP_RESERVE_PRIV ; then + mkdir -p $(dirname $TIP_RESERVE_PRIV) + cp $HOME/deployment/private-keys/default-tip.priv $TIP_RESERVE_PRIV + chmod g+rx $EXCHANGE_PRIV +fi # Deploying Exchange's priv. if ! test -f $EXCHANGE_PRIV ; then