]> git.openstreetmap.org Git - chef.git/commitdiff
Merge remote-tracking branch 'github/pull/668'
authorTom Hughes <tom@compton.nu>
Thu, 9 May 2024 07:05:38 +0000 (08:05 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 9 May 2024 07:05:38 +0000 (08:05 +0100)
cookbooks/imagery/recipes/tiler.rb
cookbooks/imagery/recipes/za_ngi_aerial.rb
cookbooks/imagery/recipes/za_ngi_topo.rb

index 028e8e34ec334a2178f0bef76e5cd4fdf8a3d129..7358089acef027e8d8f8809ee91751938471b3e1 100644 (file)
@@ -66,6 +66,10 @@ systemd_timer "titiler-restart" do
   on_unit_inactive_sec "12h"
 end
 
+service "titiler-restart.timer" do
+  action [:enable, :start]
+end
+
 directory "/var/cache/nginx-cache" do
   owner "www-data"
   group "www-data"
index c0b5642234ac07ed9c863da0c44f9d5cfdfa32fe..36123dcb58228d2f32c3ba0b1a9de76a2f6ce956 100644 (file)
@@ -31,7 +31,7 @@ imagery_layer "ngi-aerial" do
   uses_tiler true
   title "NGI Aerial 25cm/50cm"
   source "file:///store/imagery/za/za-25cm/mosaic-tiler-file.json"
-  copyright 'State Copyright &copy; 2024 <a href="http://www.ngi.gov.za/">Chief Directorate: National Geo-spatial Information</a>'
+  copyright 'State Copyright &copy; 2024 <a href="https://ngi.dalrrd.gov.za/">Chief Directorate: National Geo-spatial Information</a>'
   max_zoom 20
   extension "jpg"
   default_layer true
index 22cd752faaedd10427db9252fd812e5cdab10e5b..46d0a8bc0c398e583fddc70dae723b414a1f097b 100644 (file)
@@ -30,7 +30,7 @@ imagery_layer "za_ngi_topo_250k" do
   title "NGI Topo 250k"
   projection "EPSG:3857"
   source "/data/imagery/za/ngi-topo-250k/ngi-topo-250k-combined.vrt"
-  copyright 'State Copyright &copy; 1996&ndash;2010 <a href="http://www.ngi.gov.za/">Chief Directorate: National Geo-spatial Information</a>'
+  copyright 'State Copyright &copy; 1996&ndash;2010 <a href="https://ngi.dalrrd.gov.za/">Chief Directorate: National Geo-spatial Information</a>'
   default_layer true
 end
 
@@ -39,5 +39,5 @@ imagery_layer "za_ngi_topo_50k" do
   title "NGI Topo 50k"
   projection "EPSG:3857"
   source "/data/imagery/za/ngi-topo-50k/ngi-topo-50k-combined.vrt"
-  copyright 'State Copyright &copy; 1996&ndash;2013 <a href="http://www.ngi.gov.za/">Chief Directorate: National Geo-spatial Information</a>'
+  copyright 'State Copyright &copy; 1996&ndash;2013 <a href="https://ngi.dalrrd.gov.za/">Chief Directorate: National Geo-spatial Information</a>'
 end