Sha256: 800334a41d04f81218010250df0de165f5edfd7c3ab23befbb8f29c35db1a9ed
Contents?: true
Size: 779 Bytes
Versions: 3
Compression:
Stored size: 779 Bytes
Contents
# config/unicorn.rb # # Set the working application directory # working_directory '/path/to/your/app' working_directory "/var/www/<%= fetch(:application) %>/current" # Unicorn PID file location # pid '/path/to/pids/unicorn.pid' pid "/var/www/<%= fetch(:application) %>/current/tmp/pids/unicorn.pid" # Path to logs # stderr_path '/path/to/log/unicorn.log' # stdout_path '/path/to/log/unicorn.log' stderr_path "/var/www/<%= fetch(:application) %>/current/log/unicorn.log" stdout_path "/var/www/<%= fetch(:application) %>/current/log/unicorn.log" # Unicorn socket # listen '/tmp/unicorn.[application name].sock' listen "<%= current_path %>/tmp/sockets/unicorn.<%= fetch(:application) %>.sock" # Number of processes # worker_processes 4 worker_processes 2 # Time-out timeout 30
Version data entries
3 entries across 3 versions & 1 rubygems