]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/web/templates/default/passenger.cron.erb
Install nodejs legacy symlink on 14.04
[chef.git] / cookbooks / web / templates / default / passenger.cron.erb
index b4d78fd965f3192627bc500ff11e8b1fcdd7438a..086c41366048e073cf46ab99f57ed04825541255 100644 (file)
@@ -10,7 +10,7 @@ passenger-status | awk '/PID:/ { print $3 }' | sort > /tmp/rails.expected.$$
 pids=$(comm -23 /tmp/rails.actual.$$ /tmp/rails.expected.$$)
 
 # Kill any expected rack processes
-[ -n "$pids" ] && kill -9 $pids
+[ -n "$pids" ] && kill -9 $pids > /dev/null 2>&1
 
 # Remove our temporary files
 rm -f /tmp/rails.actual.$$ /tmp/rails.expected.$$