Ignore passenger-config output
authorTom Hughes <tom@compton.nu>
Thu, 9 Apr 2015 07:16:44 +0000 (08:16 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 9 Apr 2015 07:16:44 +0000 (08:16 +0100)
cookbooks/taginfo/templates/default/update-taginfo.erb
cookbooks/web/templates/default/logrotate.web.erb

index fd023ff..4d09a65 100644 (file)
@@ -19,6 +19,6 @@ mv $ROOT/data/taginfo-* $ROOT/data/old
 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
index a38a3e3..6c8b796 100644 (file)
@@ -11,7 +11,7 @@
   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