postrotate
<% if File.directory?("#{node[:web][:base_directory]}/rails") -%>
/usr/bin/passenger-config restart-app <%= node[:web][:base_directory] %>/rails > /dev/null
postrotate
<% if File.directory?("#{node[:web][:base_directory]}/rails") -%>
/usr/bin/passenger-config restart-app <%= node[:web][:base_directory] %>/rails > /dev/null