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
config/
# Ignore temp files
tmp/
# Ignore Grunt.js dependencies
node_modules/

View File

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

View File

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

0
tmp/.gitkeep Normal file
View File