From dc0932b0c9ec6af21561994dbf16b4da0c93c48a Mon Sep 17 00:00:00 2001 From: vdo Date: Mon, 6 Jun 2022 22:25:08 +0100 Subject: [PATCH] clean comments --- README.md | 4 +--- install | 8 +++----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e127210..619111d 100644 --- a/README.md +++ b/README.md @@ -41,11 +41,9 @@ Check the [wiki](https://github.com/vdo/xmr.sh/wiki/FAQ) # Credits [@cirocosta](https://github.com/cirocosta) for the metrics exporter and grafana dashboard. -[@sethforprivacy](https://github.com/sethforprivacy) for providing and maintaining Monero Docker images. +[@sethforprivacy](https://github.com/sethforprivacy) for providing and maintaining Monero Docker images. # Donate XMR 🍕 86GwmtuKWtjJBWT8Srn4oqZHbP41k2kpG79xXKKgauJzCmZkFJ5ihwjVnRodVbVjAx64JeB7VyGbF6hEdwpcPcR7Go8x2YZ - - diff --git a/install b/install index 4e2d5e6..6da2356 100755 --- a/install +++ b/install @@ -117,7 +117,6 @@ detect_curl() { detect_docker() { echo -ne "${OkBullet}Checking docker... ${Off}" - # docker --version >>"${XMRSH_LOG_FILE}" 2>&1 | grep -q "Docker version" if docker --version >>"${XMRSH_LOG_FILE}" 2>&1; then DOCKER_INSTALLED=true echo -e "${Ok}" @@ -128,7 +127,6 @@ detect_docker() { detect_docker_compose() { echo -ne "${OkBullet}Checking docker compose... ${Off}" - #docker-compose --version >>"${XMRSH_LOG_FILE}" 2>&1 | grep -q "Docker Compose version" if docker-compose --version >>"${XMRSH_LOG_FILE}" 2>&1; then DOCKER_COMPOSE_INSTALLED=true echo -e "${Ok}" @@ -219,7 +217,7 @@ configure_tls_domain() { # Set domain and email address in vars sed -i "s/DOMAIN=.*/DOMAIN=${TLS_DOMAIN}/g" .env sed -i "s/TRAEFIK_ACME_EMAIL=.*/TRAEFIK_ACME_EMAIL=${TLS_EMAIL}/g" .env - # Enable LE settings in compose + # Enable Let's Encrypt settings in compose sed -i '/#!le/s/# //g' docker-compose.yml sed -i '/#!nole/s/- /# - /g' docker-compose.yml sed -i "/#\!traefik-command/s/\*traefik-command-nole/\*traefik-command-le/g" docker-compose.yml @@ -381,7 +379,7 @@ completed() { echo echo -e " ${Red}┌───────────────────────────────────────────────────────────────────────────[info]──" echo -e " ${Red}│${Stat} Network: ${StatInfo}${NETWORK}" - echo -e " ${Red}│${Stat} URL: ${StatInfo}https://${HOST}${PORT_SUFF}" + echo -e " ${Red}│${Stat} Public URL: ${StatInfo}https://${HOST}${PORT_SUFF}" echo -e " ${Red}│${Stat} Public IP: ${StatInfo}${PUBLIC_IP}" if [ "$ENABLE_TOR" = true ]; then @@ -420,7 +418,7 @@ install_xmrsh configure_network configure_tls_domain configure_tls_port -# configure_pruning +configure_pruning configure_cors configure_tor