]> git.openstreetmap.org Git - chef.git/commitdiff
Give notes dump access to AWS credentials
authorTom Hughes <tom@compton.nu>
Sun, 24 Sep 2023 08:59:14 +0000 (09:59 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 24 Sep 2023 08:59:14 +0000 (09:59 +0100)
cookbooks/planet/recipes/notes.rb

index 1ca5f323bc09b92fe87b866a1e380d614ca04cfe..f3c91a3e021280db19705cd4091f1ba835b74925 100644 (file)
@@ -57,7 +57,7 @@ systemd_service "planet-notes-dump" do
   exec_start "/usr/local/bin/planet-notes-dump"
   user "planet"
   sandbox :enable_network => true
-  read_write_paths "/store/planet/notes"
+  read_write_paths ["/store/planet/notes", "/home/planet/.aws"]
 end
 
 systemd_timer "planet-notes-dump" do