mv $ROOT/sources/taginfo-*.db $ROOT/sources/*/taginfo-*.db $ROOT/data
mv $ROOT/sources/download/* $ROOT/download
-passenger-config restart-app $ROOT/taginfo/web
+passenger-config restart-app $ROOT/taginfo/web > /dev/null
find $ROOT/sources/log -mtime +28 -delete
sharedscripts
postrotate
<% if File.directory?("#{node[:web][:base_directory]}/rails") -%>
- /usr/bin/passenger-config restart-app <%= node[:web][:base_directory] %>/rails
+ /usr/bin/passenger-config restart-app <%= node[:web][:base_directory] %>/rails > /dev/null
<% end -%>
<% if File.directory?("#{node[:web][:base_directory]}/gpx-import") -%>
/usr/bin/service gpx-import rotated