Skip to content

Instantly share code, notes, and snippets.

@til
Created January 30, 2011 19:47
Show Gist options
  • Save til/803171 to your computer and use it in GitHub Desktop.
Save til/803171 to your computer and use it in GitHub Desktop.
$ pgrep -fl 4002
8022 unicorn_rails master -c config/unicorn.rb -E production -p 4002 -D
8024 unicorn_rails master -c config/unicorn.rb -E production -p 4002 -D
26734 unicorn_rails worker[0] -c config/unicorn.rb -E production -p 4002 -D
26736 unicorn_rails worker[0] -c config/unicorn.rb -E production -p 4002 -D
26737 unicorn_rails worker[2] -c config/unicorn.rb -E production -p 4002 -D
26739 unicorn_rails worker[0] -c config/unicorn.rb -E production -p 4002 -D
26740 unicorn_rails worker[2] -c config/unicorn.rb -E production -p 4002 -D
26741 unicorn_rails worker[2] -c config/unicorn.rb -E production -p 4002 -D
26742 unicorn_rails worker[1] -c config/unicorn.rb -E production -p 4002 -D
26743 unicorn_rails master -c config/unicorn.rb -E production -p 4002 -D
26744 unicorn_rails worker[1] -c config/unicorn.rb -E production -p 4002 -D
26745 unicorn_rails worker[1] -c config/unicorn.rb -E production -p 4002 -D
@til
Copy link
Author

til commented Jan 30, 2011

unicorn.rb :

worker_processes 3
pid "tmp/pids/unicorn.pid"
stderr_path "log/unicorn.stderr.log"
stdout_path "log/unicorn.stdout.log"

@til
Copy link
Author

til commented Jan 30, 2011

start command (manually, from the commandline):

unicorn -c config/unicorn.rb -E production -p 4002 -D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment