X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/33dbd3053aaa10016508a6cd73e0ed0f99d13b9a..2bfb0ef07fb64314f5c4ded641a8c280df9c1d0b:/cookbooks/web/templates/default/passenger.cron.erb?ds=sidebyside diff --git a/cookbooks/web/templates/default/passenger.cron.erb b/cookbooks/web/templates/default/passenger.cron.erb index 086c41366..d3cef76ee 100644 --- a/cookbooks/web/templates/default/passenger.cron.erb +++ b/cookbooks/web/templates/default/passenger.cron.erb @@ -4,7 +4,7 @@ pgrep -u rails -f Rack | sort > /tmp/rails.actual.$$ # Get a list of rack processes we expect to be running -passenger-status | awk '/PID:/ { print $3 }' | sort > /tmp/rails.expected.$$ +PASSENGER_INSTANCE_REGISTRY_DIR=<%= node[:passenger][:instance_registry_dir] %> passenger-status | awk '/PID:/ { print $3 }' | sort > /tmp/rails.expected.$$ # Get a list of unexpected rack processes pids=$(comm -23 /tmp/rails.actual.$$ /tmp/rails.expected.$$)