Skip to content

Instantly share code, notes, and snippets.

@rmilushev
Last active December 10, 2015 16:28
Show Gist options
  • Save rmilushev/4461074 to your computer and use it in GitHub Desktop.
Save rmilushev/4461074 to your computer and use it in GitHub Desktop.
############## First app
root = "/home/deployer/apps/gopo/current"
working_directory root
pid "#{root}/tmp/pids/unicorngopo.pid"
stderr_path "#{root}/log/unicorngopo.log"
stdout_path "#{root}/log/unicorngopo.log"
listen "/tmp/unicorn.gopo.sock"
worker_processes 2
timeout 30
######### Second app
root = "/home/deployer/apps/agency3/current"
working_directory root
pid "#{root}/tmp/pids/unicorn.pid"
stderr_path "#{root}/log/unicorn.log"
stdout_path "#{root}/log/unicorn.log"
listen "/tmp/unicorn.agency3.sock"
worker_processes 2
timeout 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment