From 5a5dc07272ef6c3b475f0d0275d0890a7e0bca15 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Wed, 11 Aug 2021 17:35:56 +0100 Subject: [PATCH] Override systemd shorewall to not use clear --- cookbooks/networking/recipes/default.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index c24686d0b..41daefe7e 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -368,6 +368,13 @@ end package "shorewall" +systemd_service "shorewall-docker" do + service "shorewall" + dropin "docker" + exec_stop "/sbin/shorewall $OPTIONS stop" + notifies :restart, "service[shorewall]" +end + template "/etc/default/shorewall" do source "shorewall-default.erb" owner "root" -- 2.45.1