Merge pull request #203 from firezone/fix-phoenix-sv-timeout

Minor changes
This commit is contained in:
Jamil
2021-08-27 12:17:08 -07:00
committed by GitHub
4 changed files with 7 additions and 4 deletions

View File

@@ -17,8 +17,6 @@
# limitations under the License.
#
# Common configuration for Phoenix
include_recipe 'firezone::config'
include_recipe 'firezone::phoenix'
@@ -32,7 +30,8 @@ end
file 'environment-variables' do
path "#{node['firezone']['var_directory']}/etc/env"
attributes = node['firezone'].merge(
'force_ssl' => node['firezone']['nginx']['force_ssl']
'force_ssl' => node['firezone']['nginx']['force_ssl'],
'mix_env' => 'prod'
)
content Firezone::Config.environment_variables_from(attributes)
owner node['firezone']['user']

View File

@@ -18,6 +18,8 @@
# limitations under the License.
#
# Common configuration for Phoenix
include_recipe 'firezone::config'
include_recipe 'firezone::nginx'

View File

@@ -22,7 +22,7 @@ include_recipe 'enterprise::runit'
# These sysctl settings make the shared memory settings work for larger
# instances
%w( shmmax shmall ).each do |param|
%w[shmmax shmall].each do |param|
sysctl "kernel.#{param}" do
value node['firezone']['postgresql'][param]
end

2
pkg/README Normal file
View File

@@ -0,0 +1,2 @@
This directory contains old packaging scripts. It has been deprecated in favor
of the new Omnibus builder.