]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/exim/templates/default/exim4.conf.erb
Run the rails message delivery script in production mode
[chef.git] / cookbooks / exim / templates / default / exim4.conf.erb
index 7e89a1e931a103fe1a38602e94b3d5c8bedfb239..0a4f1d04f249c3b4bde08863dddac8ffb701f80a 100644 (file)
@@ -732,6 +732,9 @@ noreply:
   command = <%= details[:command] %>
   home_directory = <%= details[:home_directory] %>
   path = <%= details[:path] || "/bin:/usr/bin" %>
+<% if details[:environment] -%>
+  environment = <%= details[:environment].map { |k,v| "#{k}=#{v}" }.join(":") %>
+<% end -%>
   return_fail_output
 <% else -%>
   driver = appendfile