From: Grant Slater Date: Wed, 11 Aug 2021 16:35:56 +0000 (+0100) Subject: Override systemd shorewall to not use clear X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/5a5dc07272ef6c3b475f0d0275d0890a7e0bca15 Override systemd shorewall to not use clear --- 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"