]> git.openstreetmap.org Git - chef.git/commitdiff
imagery: enable titiler-restart.timer
authorGrant Slater <github@firefishy.com>
Thu, 9 May 2024 00:14:36 +0000 (01:14 +0100)
committerGrant Slater <github@firefishy.com>
Thu, 9 May 2024 00:14:36 +0000 (01:14 +0100)
cookbooks/imagery/recipes/tiler.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"