From 31a9cd8fc2440ac0c2c88ad80c7201afecedc23f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 20 Dec 2022 08:23:36 +0000 Subject: [PATCH] Use upstream default location for passenger instance registry --- cookbooks/passenger/attributes/default.rb | 2 +- cookbooks/passenger/templates/default/passenger.conf.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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] %> -- 2.39.5