]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/replicate.logrotate.erb
Revert "Block requests for tiles unless they come from a CDN node"
[chef.git] / cookbooks / tile / templates / default / replicate.logrotate.erb
index a2878af920157677e07a29a7ffbb7d0ccfc46add..9c2c29f22657353edc5011bdb88cef3817c35bc9 100644 (file)
@@ -1,10 +1,10 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
-/var/log/replicate/*.log {
+/var/log/tile/replicate.log {
   compress
   delaycompress
   notifempty
   postrotate
-    /usr/bin/service replicate restart
+    /bin/systemctl try-restart replicate
   endscript
 }