mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
83163c3f28
example: echo "pidfile '/tmp/app.pid'; rackup 'config.ru'" > /etc/puma/app.rb pumactl -F /etc/puma/app.rb start # starts an app and store pid in /tmp/app.pid pumactl -F /etc/puma/app.rb stop # stops the started earlier app Integration test t2 included: rake test:integration Also fixed discrepancy in naming options :pidfile/:pid_file and :state/:status_file
5 lines
145 B
Ruby
5 lines
145 B
Ruby
stdout_redirect "t2-stdout"
|
|
pidfile "t2-pid"
|
|
bind "tcp://0.0.0.0:10103"
|
|
rackup File.expand_path('../hello.ru', File.dirname(__FILE__))
|
|
daemonize
|