From: Tom Hughes Date: Thu, 9 Nov 2023 00:23:13 +0000 (+0000) Subject: Set SECRET_KEY_BASE_DUMMY for the statistics script X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/9c82d0eb2c75d1f5eb9b0689c5e3bed194fd1e0b Set SECRET_KEY_BASE_DUMMY for the statistics script --- diff --git a/cookbooks/web/recipes/statistics.rb b/cookbooks/web/recipes/statistics.rb index d3829f06c..84848b003 100644 --- a/cookbooks/web/recipes/statistics.rb +++ b/cookbooks/web/recipes/statistics.rb @@ -32,7 +32,8 @@ end 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"