mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-03-01 00:59:23 +01:00
* change password b also for mempool * fix lndg password b
This commit is contained in:
parent
cde7eb1310
commit
f1d3b48db6
1 changed files with 9 additions and 1 deletions
|
@ -391,7 +391,15 @@ elif [ "${abcd}" = "b" ]; then
|
|||
# LNDg
|
||||
if [ "${lndg}" == "on" ]; then
|
||||
echo "# changing the password for lndg"
|
||||
sudo -u lndg /home/lndg/lndg/.venv/bin/python initialize.py -pw ${newPassword}
|
||||
sudo -u lndg /home/lndg/lndg/.venv/bin/python /home/lndg/lndg/initialize.py -pw ${newPassword}
|
||||
fi
|
||||
|
||||
# mempool Explorer
|
||||
if [ "${mempoolExplorer}" == "on" ]; then
|
||||
echo "# changing the password for mempool Explorer"
|
||||
sudo jq ".CORE_RPC.PASSWORD=\"${newPassword}\"" /home/mempool/mempool/backend/mempool-config.json > /var/cache/raspiblitz/mempool-config.json
|
||||
sudo mv /var/cache/raspiblitz/mempool-config.json /home/mempool/mempool/backend/mempool-config.json
|
||||
sudo chown mempool:mempool /home/mempool/mempool/backend/mempool-config.json
|
||||
fi
|
||||
|
||||
echo "# OK -> RPC Password B changed"
|
||||
|
|
Loading…
Add table
Reference in a new issue