Support Tor connections for LND

Adds basics for general Tor support in bitcoin recipes, and specific
support for Tor to the lnd recipe.
This commit is contained in:
2021-07-01 15:34:06 +02:00
parent 9f0b5f0e64
commit b7af04e8be
5 changed files with 25 additions and 2 deletions

View File

@@ -81,6 +81,14 @@ user bitcoin_user do
shell "/bin/bash"
end
if node['bitcoin']['tor_enabled']
group 'debian-tor' do
action :modify
members bitcoin_user
append true
end
end
[bitcoin_datadir, bitcoin_walletdir].each do |path|
directory path do
owner bitcoin_user