From 40fe4038797c20b369f9ef9933a3a219ed80cca4 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Tue, 26 Jan 2021 12:33:09 +0100 Subject: [PATCH] Stop c-lightning before compilation See https://github.com/ElementsProject/lightning/issues/4346 for potential issues with not doing that. --- site-cookbooks/kosmos-bitcoin/recipes/c-lightning.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/site-cookbooks/kosmos-bitcoin/recipes/c-lightning.rb b/site-cookbooks/kosmos-bitcoin/recipes/c-lightning.rb index 5eedd82..67c6c97 100644 --- a/site-cookbooks/kosmos-bitcoin/recipes/c-lightning.rb +++ b/site-cookbooks/kosmos-bitcoin/recipes/c-lightning.rb @@ -24,6 +24,7 @@ end bash "compile_c-lightning" do cwd node['c-lightning']['source_dir'] code <<-EOH + systemctl stop lightningd.service ./configure make make install