]> git.openstreetmap.org Git - chef.git/blobdiff - roles/web-frontend.rb
Drop lyonix admin account
[chef.git] / roles / web-frontend.rb
index e228e0efc43bbebd1c6800e708b74bd261dd8262..971a51b3744ed636d83f971cc97e8a56c8bf2fb3 100644 (file)
@@ -31,10 +31,11 @@ default_attributes(
       :messages => {
         :comment => "messages.openstreetmap.org",
         :domains => ["messages.openstreetmap.org"],
-        :command => "/srv/www.openstreetmap.org/rails/script/deliver-message $local_part",
+        :command => "/usr/local/bin/passenger-ruby /srv/www.openstreetmap.org/rails/script/deliver-message $local_part",
         :user => "rails",
         :group => "rails",
-        :home_directory => "/srv/www.openstreetmap.org/rails"
+        :home_directory => "/srv/www.openstreetmap.org/rails",
+        :path => "/bin:/usr/bin:/usr/local/bin"
       }
     }
   }