]> git.openstreetmap.org Git - chef.git/commitdiff
Use default sandboxing for the gps-update service
authorTom Hughes <tom@compton.nu>
Mon, 14 Nov 2022 22:48:50 +0000 (22:48 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 14 Nov 2022 23:02:30 +0000 (23:02 +0000)
cookbooks/gps-tile/recipes/default.rb

index f82327c9fe2e6fe2ff1a115d69a5d5f11b35444c..d71d04ade74c74d8c7eb9fc19ca5e777e3b22db7 100644 (file)
@@ -94,12 +94,8 @@ systemd_service "gps-update" do
   working_directory "/srv/gps-tile.openstreetmap.org"
   exec_start "/srv/gps-tile.openstreetmap.org/updater/update"
   nice 10
-  private_tmp true
-  private_devices true
-  protect_system "strict"
-  protect_home true
+  sandbox :enable_network => true
   read_write_paths "/srv/gps-tile.openstreetmap.org"
-  no_new_privileges true
   restart "on-failure"
 end