summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2017-11-30 13:35:00 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2017-11-30 13:35:00 +0100
commit551711274ce5d3630fe0162f89214052fd6c8076 (patch)
tree5421fc632ee1648580ea7525387c2c1d0f9272cc
parentda9d7ebaa3d187aff4a75275048ae751ebb4f491 (diff)
downloaddeployment-551711274ce5d3630fe0162f89214052fd6c8076.tar.gz
deployment-551711274ce5d3630fe0162f89214052fd6c8076.tar.bz2
deployment-551711274ce5d3630fe0162f89214052fd6c8076.zip
add tip reserve enabler
-rwxr-xr-xtaler-build/enable_reserve.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/taler-build/enable_reserve.sh b/taler-build/enable_reserve.sh
new file mode 100755
index 0000000..2404a0c
--- /dev/null
+++ b/taler-build/enable_reserve.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+# This file is run only ONCE - and acts more like a recipe!
+# That's because a reserve cannot get its deadline changed,
+# so even though we top periodically the same reserve (with
+# taler-exchange-reservemod), we can't likewise move in the
+# future that reserve's expiration date; thus we pick a very
+# distant time for it.
+
+source $HOME/activate
+
+taler-merchant-tip-enable \
+ --amount="$TALER_CONFIG_CURRENCY:100.00" \
+ --backend-uri="http://backend.$TALER_ENVNAME.taler.net/" \
+ --credit-uuid=ZUV321 \ # do not change
+ --instance=default \
+ --expiration=2020-12-31