]> git.openstreetmap.org Git - chef.git/commitdiff
Override systemd shorewall to not use clear
authorGrant Slater <git@firefishy.com>
Wed, 11 Aug 2021 16:35:56 +0000 (17:35 +0100)
committerGrant Slater <git@firefishy.com>
Wed, 25 Aug 2021 16:48:56 +0000 (17:48 +0100)
cookbooks/networking/recipes/default.rb

index c24686d0b0344a2a968b8001d6a28b96f27371c4..41daefe7eacc378af9bf812c82063a7221b0796e 100644 (file)
@@ -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"