]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/templates/default/statistics.erb
Add logrotate where required
[chef.git] / cookbooks / web / templates / default / statistics.erb
index db1fd40edbdf4488266ea3badef3ba8b659c2220..30a23a7ac992698361991becacea9d482343183b 100644 (file)
@@ -13,4 +13,4 @@ export PATH=$PATH:/usr/local/bin
 rsync --quiet <%= @directory %>/tmp/data_stats.html planet.openstreetmap.org::statistics
 
 # Mail statistics to Blackadder
-mail -s "OpenStreetMap Statistics" blackadderajr@gmail.com < /store/rails/stats/data_stats.html
+mail -s "OpenStreetMap Statistics" blackadderajr@gmail.com < <%= @directory %>/tmp/data_stats.html