Skip to content

Commit

Permalink
Set SECRET_KEY_BASE_DUMMY for the statistics script
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Nov 9, 2023
1 parent d4ccdb8 commit 9c82d0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cookbooks/web/recipes/statistics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@

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"
Expand Down

0 comments on commit 9c82d0e

Please sign in to comment.