X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/33dbd3053aaa10016508a6cd73e0ed0f99d13b9a..ce136e365e7258d85a27d44eb2817f881d78d25f:/cookbooks/web/templates/default/passenger.cron.erb?ds=inline 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.$$)