lnd postStart: suppress curl response output
Errors are still shown
This commit is contained in:
parent
3e86637327
commit
120e3e8cfe
@ -115,7 +115,7 @@ in {
|
|||||||
if [[ ! -f ${cfg.dataDir}/chain/bitcoin/mainnet/wallet.db ]]; then
|
if [[ ! -f ${cfg.dataDir}/chain/bitcoin/mainnet/wallet.db ]]; then
|
||||||
echo Creating lnd wallet
|
echo Creating lnd wallet
|
||||||
|
|
||||||
${pkgs.curl}/bin/curl -s \
|
${pkgs.curl}/bin/curl -s --output /dev/null --show-error \
|
||||||
--cacert /secrets/lnd_cert \
|
--cacert /secrets/lnd_cert \
|
||||||
-X POST -d "{\"wallet_password\": \"$(cat /secrets/lnd-wallet-password | tr -d '\n' | base64 -w0)\", \
|
-X POST -d "{\"wallet_password\": \"$(cat /secrets/lnd-wallet-password | tr -d '\n' | base64 -w0)\", \
|
||||||
\"cipher_seed_mnemonic\": $(cat /secrets/lnd-seed-mnemonic | tr -d '\n')}" \
|
\"cipher_seed_mnemonic\": $(cat /secrets/lnd-seed-mnemonic | tr -d '\n')}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user