taler-deployment

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

commit 5e988f691ee8ad10d0604923e19cb9d3dc9946b5
parent b1ff2136368c1f1cf633291232394b6ffeaf03ac
Author: Antoine A <>
Date:   Thu, 30 Nov 2023 02:54:11 +0000

Simplify script

Diffstat:
Mnetzbon/main.sh | 11+++--------
1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/netzbon/main.sh b/netzbon/main.sh @@ -94,10 +94,11 @@ fi # TODO With port should be use ? ask user ? echo "BANK_PORT=9090" >>config/user.conf if test "${ENABLE_TLS:-}" == "y"; then - echo "PROTO=\"https\"">>config/internal.conf + PROTO="https" else - echo "PROTO=\"http\"">>config/internal.conf + PROTO="http" fi +echo "PROTO=$PROTO"">>config/internal.conf ./config_libeufin_bank.sh ./config_libeufin_nexus.sh @@ -106,12 +107,6 @@ fi ./setup-merchant.sh # Final message to the user -if test "${ENABLE_TLS:-}" == "y"; then - PROTO="https" -else - PROTO="http" -fi - say "Congratulations, you have successfully installed GNU Taler" say "Your bank is at ${PROTO}://bank.${DOMAIN_NAME}/" say "A merchant is at ${PROTO}://backend.${DOMAIN_NAME}/"