]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/geoipupdate/recipes/default.rb
Add no_new_privilegese to some additional services
[chef.git] / cookbooks / geoipupdate / recipes / default.rb
index 036c27881c06262bbfd00589a284dada2b992bdc..c11b451dc4645f28d3d12198e5ba2358ca71ec87 100644 (file)
@@ -17,7 +17,7 @@
 # limitations under the License.
 #
 
-include_recipe "apt"
+include_recipe "apt::maxmind"
 
 license_keys = data_bag_item("geoipupdate", "license-keys")
 
@@ -47,6 +47,7 @@ systemd_service "geoipupdate" do
   protect_system "strict"
   protect_home true
   read_write_paths node[:geoipupdate][:directory]
+  no_new_privileges true
 end
 
 systemd_timer "geoipupdate" do