Backup the parity keys
This commit is contained in:
@@ -10,7 +10,7 @@ property :rpc_proxy_port, Integer
|
||||
action :enable do
|
||||
node_name = name
|
||||
parity_service = "parity_#{node_name}"
|
||||
base_path = "#{node['kosmos-parity']['home_path']}/.local/share/io.parity.ethereum/#{name}"
|
||||
base_path = "#{node['kosmos-parity']['home_path']}/.local/share/io.parity.ethereum/#{node_name}"
|
||||
config_path = "#{base_path}/config.toml"
|
||||
|
||||
config[:parity][:base_path] = base_path
|
||||
@@ -31,8 +31,7 @@ action :enable do
|
||||
end
|
||||
end
|
||||
|
||||
node_path = "#{node['kosmos-parity']['home_path']}/.local/share/io.parity.ethereum/#{node_name}"
|
||||
password_path = "#{node_path}/password"
|
||||
password_path = "#{base_path}/password"
|
||||
|
||||
file password_path do
|
||||
content password
|
||||
|
||||
Reference in New Issue
Block a user