aboutsummaryrefslogtreecommitdiff
path: root/nginx_unicorn/unicorn.rb
diff options
context:
space:
mode:
authorMiquel Sabaté <mikisabate@gmail.com>2011-11-04 21:05:04 +0100
committerMiquel Sabaté <mikisabate@gmail.com>2011-11-04 21:05:04 +0100
commit14513b2e05c36762e0dc543b62291d296c081b1a (patch)
tree735fb4a43718faa79ec39bc12103e000a942167d /nginx_unicorn/unicorn.rb
parent336831ab79b7fdeb13a6ac22595bff1a4449b635 (diff)
downloaddotfiles-14513b2e05c36762e0dc543b62291d296c081b1a.tar.gz
dotfiles-14513b2e05c36762e0dc543b62291d296c081b1a.zip
More on polishing
Diffstat (limited to 'nginx_unicorn/unicorn.rb')
-rw-r--r--nginx_unicorn/unicorn.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/nginx_unicorn/unicorn.rb b/nginx_unicorn/unicorn.rb
index b0f194f..09bea64 100644
--- a/nginx_unicorn/unicorn.rb
+++ b/nginx_unicorn/unicorn.rb
@@ -1,7 +1,8 @@
##
-# This is the configuration file for Unicorn. It m
+# This is the configuration file for Unicorn.
-# TODO: Change it at your own needs
+
+# Feel free to change any of the following constants for your app:
WD = '/my/app/root'
NCORES = `cat /proc/cpuinfo | grep 'cores' | uniq | sed 's/[^0-9]//g'`.to_i