Sha256: 37aac959472749c54977729eca4408795bf146ef1eadd85f2222d8951920a8dc
Contents?: true
Size: 872 Bytes
Versions: 12
Compression:
Stored size: 872 Bytes
Contents
process 'unicorn' do pid_file "<%= fetch(:unicorn_pid) %>" start_command "<%= fetch(:rbenv_prefix) %> bundle exec unicorn -Dc <%= fetch(:unicorn_config_path) %> -E <%= fetch(:rails_env) %>" stdall "<%= fetch(:unicorn_log) %>" # stop signals: # http://unicorn.bogomips.org/SIGNALS.html stop_signals [:TERM, 10.seconds] # soft restart restart_command "kill -USR2 {PID}" # Master process checks <%= fetch(:unicorn_master_cpu_checks) %> <%= fetch(:unicorn_master_memory_checks) %> start_timeout 100.seconds restart_grace 30.seconds monitor_children do stop_command "kill -QUIT {PID}" # Children processes checks <%= fetch(:unicorn_children_cpu_checks, fetch(:unicorn_master_cpu_checks)) %> <%= fetch(:unicorn_children_memory_checks, fetch(:unicorn_master_memory_checks)) %> end end
Version data entries
12 entries across 12 versions & 1 rubygems