From: Tom Hughes Date: Tue, 20 Dec 2022 08:23:36 +0000 (+0000) Subject: Use upstream default location for passenger instance registry X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/31a9cd8fc2440ac0c2c88ad80c7201afecedc23f Use upstream default location for passenger instance registry --- diff --git a/cookbooks/passenger/attributes/default.rb b/cookbooks/passenger/attributes/default.rb index 1540a8592..2c11cc27a 100644 --- a/cookbooks/passenger/attributes/default.rb +++ b/cookbooks/passenger/attributes/default.rb @@ -1,3 +1,3 @@ default[:passenger][:max_pool_size] = 6 default[:passenger][:pool_idle_time] = 300 -default[:passenger][:instance_registry_dir] = "/run/passenger" +default[:passenger][:instance_registry_dir] = "/run/passenger-instreg" diff --git a/cookbooks/passenger/templates/default/passenger.conf.erb b/cookbooks/passenger/templates/default/passenger.conf.erb index f15bc0fe9..1212f7588 100644 --- a/cookbooks/passenger/templates/default/passenger.conf.erb +++ b/cookbooks/passenger/templates/default/passenger.conf.erb @@ -7,5 +7,5 @@ PassengerMaxPoolSize <%= node[:passenger][:max_pool_size] %> PassengerPoolIdleTime <%= node[:passenger][:pool_idle_time] %> PassengerFriendlyErrorPages off - PassengerInstanceRegistryDir /run/passenger + PassengerInstanceRegistryDir <%= node[:passenger][:instance_registry_dir] %>