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:
Basti 2021-06-29 15:53:52 +02:00
parent 3dcb9e76ce
commit f095094cf7
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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