Skip to content

Commit

Permalink
Fix sed slash
Browse files Browse the repository at this point in the history
  • Loading branch information
vdo committed Jun 1, 2022
1 parent b2ab5d2 commit c372efa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ configure_grafana() {
sed -i '/#!monero-exporter/s/# //g' docker-compose.yml
sed -i '/#!grafana/s/# //g' docker-compose.yml
sed -i '/#!prometheus/s/# //g' docker-compose.yml
GRAFANA_PASSWORD="$(openssl rand -base64 9)"
GRAFANA_PASSWORD="$(openssl rand -base64 9 | tr '\/' '-')"
sed -i "s/GF_SECURITY_ADMIN_PASSWORD=.*/GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_PASSWORD}/g" .env
break
;;
Expand Down Expand Up @@ -336,7 +336,7 @@ start_xmrsh() {
docker-compose up -d >>"${XMRSH_LOG_FILE}" 2>&1
check_return $?
if [[ $ENABLE_TOR == true ]]; then
sleep 3
sleep 4
ONION=$(docker logs tor 2>&1 | grep Entrypoint | cut -d " " -f 8)
fi
echo -e "${Ok}"
Expand Down

0 comments on commit c372efa

Please sign in to comment.