Bitcoin (Core) cookbook #121
@ -56,6 +56,14 @@ template "#{bitcoin_datadir}/bitcoin.conf" do
|
||||
# notifies :reload, "service[bitcoin]", :delayed
|
||||
end
|
||||
|
||||
directory "/home/#{bitcoin_user}/snap/bitcoin-core/common/.bitcoin" do
|
||||
owner bitcoin_user
|
||||
group bitcoin_group
|
||||
mode '0750'
|
||||
recursive true
|
||||
action :create
|
||||
end
|
||||
|
||||
mount "/home/#{bitcoin_user}/snap/bitcoin-core/common/.bitcoin" do
|
||||
device node['bitcoin']['data_dir']
|
||||
fstype 'none'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user