]> git.openstreetmap.org Git - chef.git/blobdiff - roles/web-frontend.rb
Run the rails message delivery script in production mode
[chef.git] / roles / web-frontend.rb
index 741a40b901e3cf3db3dbc7f7b461c9c13c99a66b..0435872dd1c751b166465f04f34d76e702c9aa29 100644 (file)
@@ -37,7 +37,10 @@ default_attributes(
         :user => "rails",
         :group => "rails",
         :home_directory => "/srv/www.openstreetmap.org/rails",
-        :path => "/bin:/usr/bin:/usr/local/bin"
+        :path => "/bin:/usr/bin:/usr/local/bin",
+        :environment => {
+          "RAILS_ENV" => "production"
+        }
       }
     }
   }