mirror of
https://github.com/lalanza808/xmr.sh.git
synced 2025-05-12 19:02:12 -04:00
Fix sed slash
This commit is contained in:
parent
b2ab5d2ab5
commit
c372efafe6
1 changed files with 2 additions and 2 deletions
4
install
4
install
|
@ -298,7 +298,7 @@ configure_grafana() {
|
||||||
sed -i '/#!monero-exporter/s/# //g' docker-compose.yml
|
sed -i '/#!monero-exporter/s/# //g' docker-compose.yml
|
||||||
sed -i '/#!grafana/s/# //g' docker-compose.yml
|
sed -i '/#!grafana/s/# //g' docker-compose.yml
|
||||||
sed -i '/#!prometheus/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
|
sed -i "s/GF_SECURITY_ADMIN_PASSWORD=.*/GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_PASSWORD}/g" .env
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
|
@ -336,7 +336,7 @@ start_xmrsh() {
|
||||||
docker-compose up -d >>"${XMRSH_LOG_FILE}" 2>&1
|
docker-compose up -d >>"${XMRSH_LOG_FILE}" 2>&1
|
||||||
check_return $?
|
check_return $?
|
||||||
if [[ $ENABLE_TOR == true ]]; then
|
if [[ $ENABLE_TOR == true ]]; then
|
||||||
sleep 3
|
sleep 4
|
||||||
ONION=$(docker logs tor 2>&1 | grep Entrypoint | cut -d " " -f 8)
|
ONION=$(docker logs tor 2>&1 | grep Entrypoint | cut -d " " -f 8)
|
||||||
fi
|
fi
|
||||||
echo -e "${Ok}"
|
echo -e "${Ok}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue