X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/33dbd3053aaa10016508a6cd73e0ed0f99d13b9a..002e934c3f9d818e59b74fdb021f93766799ea9c:/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.$$)