Sha256: ba31910a9b0d81407e26506519d4f922670b0263c581b647e4fbabcc3315eb31

Contents?: true

Size: 452 Bytes

Versions: 5

Compression:

Stored size: 452 Bytes

Contents

environment 'production'
bind 'unix:///path/to/shared/tmp/sockets/puma.sock'
pidfile '/path/to/shared/tmp/pids/puma.pid'
ctl_socket = '/path/to/shared/tmp/sockets/pumactl.sock'
state_path '/path/to/shared/tmp/sockets/puma.state'
activate_control_app 'unix:///path/to/shared/tmp/sockets/pumactl.sock'
daemonize
quiet

threads 5, 5
workers 2
preload_app!

before_fork do
  <%= @app_class_name %>::DB.disconnect if defined?(<%= @app_class_name %>::DB)
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sinator-3.0.4 lib/sinator/templates/config/puma/production.erb
sinator-3.0.3 lib/sinator/templates/config/puma/production.erb
sinator-3.0.2 lib/sinator/templates/config/puma/production.erb
sinator-3.0.1 lib/sinator/templates/config/puma/production.erb
sinator-3.0.0 lib/sinator/templates/config/puma/production.erb