Remove peerswap policy file from recipe
This will be auto-created anyway, and we don't want to overwrite changes added by the CLI.
This commit is contained in:
parent
4f1b1aff30
commit
176dd64438
@ -49,14 +49,6 @@ template "#{config_dir}/peerswap.conf" do
|
|||||||
notifies :restart, 'service[peerswap]', :delayed
|
notifies :restart, 'service[peerswap]', :delayed
|
||||||
end
|
end
|
||||||
|
|
||||||
file "#{config_dir}/policy.conf" do
|
|
||||||
owner bitcoin_user
|
|
||||||
group bitcoin_group
|
|
||||||
mode 0600
|
|
||||||
content 'accept_all_peers=true'
|
|
||||||
notifies :restart, 'service[peerswap]', :delayed
|
|
||||||
end
|
|
||||||
|
|
||||||
systemd_unit 'peerswap.service' do
|
systemd_unit 'peerswap.service' do
|
||||||
content({
|
content({
|
||||||
Unit: {
|
Unit: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user