]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/templates/default/cleanup.cron.erb
Avoid errors rotating logs on nodes where gpx-import is stopped
[chef.git] / cookbooks / web / templates / default / cleanup.cron.erb
index 996aeec9ac7f3eb3828c4349acfc2429b1ba00e4..390b5bcc49c72cc72867bb0f03b1579b179196bf 100644 (file)
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-<%= node[:web][:base_directory] %>/rails/script/cleanup
+<%= @ruby %> <%= @directory %>/script/cleanup