server config
This commit is contained in:
parent
58c1e1185b
commit
378abb7807
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
tmp/
|
||||||
|
log/thin.log
|
||||||
|
*.swp
|
3
config.ru
Normal file
3
config.ru
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
require File.expand_path '../main.rb', __FILE__
|
||||||
|
|
||||||
|
run Sinatra::Application
|
17
config.yml
Normal file
17
config.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
chdir: "/home/pi/led-hands-pri"
|
||||||
|
rackup: "/home/pi/led-hands-pri/config.ru"
|
||||||
|
user: pi
|
||||||
|
group: pi
|
||||||
|
environment: development
|
||||||
|
address: 0.0.0.0
|
||||||
|
port: 3000
|
||||||
|
timeout: 30
|
||||||
|
log: "/home/pi/led-hands-pri/log/thin.log"
|
||||||
|
pid: tmp/pids/thin.pid
|
||||||
|
max_conns: 1024
|
||||||
|
max_persistent_conns: 100
|
||||||
|
require: []
|
||||||
|
wait: 30
|
||||||
|
threadpool_size: 20
|
||||||
|
daemonize: true
|
Loading…
Reference in New Issue
Block a user