]> git.openstreetmap.org Git - chef.git/commitdiff
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 fd023ff20a2557e5bd6de5d4dd2ccd55f7c773cd..4d09a658043760ea5ff55d7af6ada31360ab705f 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
 
 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
 
 find $ROOT/sources/log -mtime +28 -delete
index a38a3e379bf996fd9c3d4c5e7a56c057d16888c8..6c8b79646b2d84c90d8fda80e2a46bd49fafc0a5 100644 (file)
@@ -11,7 +11,7 @@
   sharedscripts
   postrotate
 <% if File.directory?("#{node[:web][:base_directory]}/rails") -%>
   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
 <% end -%>
 <% if File.directory?("#{node[:web][:base_directory]}/gpx-import") -%>
     /usr/bin/service gpx-import rotated