]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/recipes/statistics.rb
palulukon: Allow access to AWS IP metadata NTP service
[chef.git] / cookbooks / web / recipes / statistics.rb
index d3829f06c73815a839cb782c862717afd1277852..84848b0030eb2f67437b0aded36782fc2d1ae60c 100644 (file)
@@ -32,7 +32,8 @@ end
 
 systemd_service "web-statistics" do
   description "Generate web statistics"
 
 systemd_service "web-statistics" do
   description "Generate web statistics"
-  environment "RAILS_ENV" => "production"
+  environment "RAILS_ENV" => "production",
+              "SECRET_KEY_BASE_DUMMY" => "1"
   user "rails"
   working_directory rails_directory
   exec_start "/usr/local/bin/statistics"
   user "rails"
   working_directory rails_directory
   exec_start "/usr/local/bin/statistics"