parent
f1ff34d769
commit
f7d3abc307
@ -16,7 +16,10 @@ end
|
|||||||
|
|
||||||
bash 'build_btcpay' do
|
bash 'build_btcpay' do
|
||||||
cwd node['btcpay']['source_dir']
|
cwd node['btcpay']['source_dir']
|
||||||
code './build.sh'
|
code <<-EOH
|
||||||
|
systemctl stop btcpayserver.service
|
||||||
|
./build.sh
|
||||||
|
EOH
|
||||||
action :nothing
|
action :nothing
|
||||||
notifies :restart, "systemd_unit[btcpayserver.service]", :delayed
|
notifies :restart, "systemd_unit[btcpayserver.service]", :delayed
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user