Fix compilation issue with dotnet services
Compilation fails while the executable is running. Fixed by stopping the services before upgrades.
This commit is contained in:
parent
3dcb9e76ce
commit
f095094cf7
|
@ -11,6 +11,7 @@ git node['btcpay']['source_dir'] do
|
|||
repository node['btcpay']['repo']
|
||||
revision node['btcpay']['revision']
|
||||
action :sync
|
||||
notifies :stop, "systemd_unit[btcpayserver.service]", :immediately
|
||||
notifies :run, 'bash[build_btcpay]', :immediately
|
||||
end
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@ git node['nbxplorer']['source_dir'] do
|
|||
repository node['nbxplorer']['repo']
|
||||
revision node['nbxplorer']['revision']
|
||||
action :sync
|
||||
notifies :stop, "systemd_unit[nbxplorer.service]", :immediately
|
||||
notifies :run, 'bash[build_nbxplorer]', :immediately
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue