summaryrefslogtreecommitdiff
path: root/taler-build/enable_reserve.sh
diff options
context:
space:
mode:
Diffstat (limited to 'taler-build/enable_reserve.sh')
-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