diff options
Diffstat (limited to 'bin/taler-deployment-prepare')
-rwxr-xr-x | bin/taler-deployment-prepare | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/taler-deployment-prepare b/bin/taler-deployment-prepare index 7d34a99..7d49b92 100755 --- a/bin/taler-deployment-prepare +++ b/bin/taler-deployment-prepare @@ -3,6 +3,7 @@ # Prepare a deployment for execution: # * generate the configuration # * put keys in the right place +# * set bank password for the exchange # * sign the exchange's wire response # * run some sanity checks (FIXME: not done yet!) @@ -86,3 +87,17 @@ fi taler-exchange-wire chmod 770 $WIRE_RESPONSE + + +## +## Step 4: +## + +case $TALER_ENV_NAME in + demo|test|int) + taler-bank-manage django changepassword_unsafe Exchange x + ;; + *) + echo "Not setting unsafe Exchange bank account password for env $TALER_ENV_NAME" + ;; +esac |