Create the snap mount directory in the user's home
This commit is contained in:
parent
069246cf41
commit
aedf7bcb62
@ -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