Updated puma.rb to put temp files under ./tmp/
This commit is contained in:
parent
e081f37bda
commit
4568733655
3
.gitignore
vendored
3
.gitignore
vendored
@ -59,6 +59,9 @@ build-iPhoneSimulator/
|
||||
# Ignore local config files
|
||||
config/
|
||||
|
||||
# Ignore temp files
|
||||
tmp/
|
||||
|
||||
# Ignore Grunt.js dependencies
|
||||
node_modules/
|
||||
|
||||
|
@ -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
|
||||
|
2
LICENSE
2
LICENSE
@ -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:
|
||||
|
||||
|
9
puma.rb
9
puma.rb
@ -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
0
tmp/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user