Updated puma.rb to put temp files under ./tmp/

This commit is contained in:
Gregory Ballantine 2023-03-31 11:25:21 -04:00
parent e081f37bda
commit 4568733655
5 changed files with 12 additions and 4 deletions

3
.gitignore vendored
View File

@ -59,6 +59,9 @@ build-iPhoneSimulator/
# Ignore local config files # Ignore local config files
config/ config/
# Ignore temp files
tmp/
# Ignore Grunt.js dependencies # Ignore Grunt.js dependencies
node_modules/ node_modules/

View File

@ -2,6 +2,7 @@ GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
ffi (1.15.5) ffi (1.15.5)
ffi (1.15.5-x64-mingw-ucrt)
listen (3.7.1) listen (3.7.1)
rb-fsevent (~> 0.10, >= 0.10.3) rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10) rb-inotify (~> 0.9, >= 0.9.10)
@ -28,6 +29,7 @@ GEM
tilt (2.0.11) tilt (2.0.11)
PLATFORMS PLATFORMS
x64-mingw-ucrt
x86_64-linux x86_64-linux
DEPENDENCIES DEPENDENCIES

View File

@ -1,4 +1,4 @@
Copyright (c) <year> <owner> Copyright (c) 2023 Metaunix.net
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

View File

@ -1,8 +1,11 @@
root = Dir.getwd.to_s root = Dir.getwd.to_s
bind 'tcp://0.0.0.0:3108' bind_address = '0.0.0.0'
pidfile '/tmp/puma.pid' bind_port = 3108
state_path '/tmp/puma.state' bind "tcp://#{bind_address}:#{bind_port}"
pidfile './tmp/puma.pid'
state_path './tmp/puma.state'
rackup root.to_s + '/config.ru' rackup root.to_s + '/config.ru'
threads 4, 8 threads 4, 8

0
tmp/.gitkeep Normal file
View File