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']
|
repository node['btcpay']['repo']
|
||||||
revision node['btcpay']['revision']
|
revision node['btcpay']['revision']
|
||||||
action :sync
|
action :sync
|
||||||
|
notifies :stop, "systemd_unit[btcpayserver.service]", :immediately
|
||||||
notifies :run, 'bash[build_btcpay]', :immediately
|
notifies :run, 'bash[build_btcpay]', :immediately
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@ git node['nbxplorer']['source_dir'] do
|
|||||||
repository node['nbxplorer']['repo']
|
repository node['nbxplorer']['repo']
|
||||||
revision node['nbxplorer']['revision']
|
revision node['nbxplorer']['revision']
|
||||||
action :sync
|
action :sync
|
||||||
|
notifies :stop, "systemd_unit[nbxplorer.service]", :immediately
|
||||||
notifies :run, 'bash[build_nbxplorer]', :immediately
|
notifies :run, 'bash[build_nbxplorer]', :immediately
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user