The latest release added a new config option for auto-unlocking the wallet/node using a password file. This changeset adds support for just that to the lnd recipe, so that nobody has to manually unlock it after reboots or service restarts.
28 lines
767 B
Plaintext
28 lines
767 B
Plaintext
[Application Options]
|
|
debuglevel=<%= @lnd_log_level %>
|
|
listen=0.0.0.0:<%= @lnd_port %>
|
|
externalip=<%= @lnd_externalip %>
|
|
alias=<%= @lnd_alias %>
|
|
color=<%= @lnd_color %>
|
|
maxpendingchannels=2
|
|
minchansize=<%= @lnd_minchansize %>
|
|
<% if @auto_unlock %>wallet-unlock-password-file=<%= @lnd_dir %>/.unlock.txt<% end %>
|
|
|
|
[autopilot]
|
|
autopilot.active=0
|
|
|
|
[Bitcoin]
|
|
bitcoin.active=1
|
|
bitcoin.mainnet=1
|
|
bitcoin.node=bitcoind
|
|
bitcoin.basefee=<%= @lnd_basefee %>
|
|
bitcoin.feerate=<%= @lnd_feerate %>
|
|
|
|
[bitcoind]
|
|
bitcoind.dir=<%= @bitcoin_datadir %>
|
|
bitcoind.rpchost=<%= @bitcoin_rpc_host %>
|
|
bitcoind.rpcuser=<%= @bitcoin_rpc_user %>
|
|
bitcoind.rpcpass=<%= @bitcoin_rpc_password %>
|
|
bitcoind.zmqpubrawblock=<%= @bitcoin_zmqpubrawblock %>
|
|
bitcoind.zmqpubrawtx=<%= @bitcoin_zmqpubrawtx %>
|