Bitcoin (Core) cookbook #121

Merged
greg merged 20 commits from feature/bitcoin_cookbook into master 2020-08-20 17:17:31 +00:00
Showing only changes of commit aedf7bcb62 - Show all commits

View File

@ -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'