Skip to content

Instantly share code, notes, and snippets.

@caok
Created November 13, 2012 13:34
Show Gist options
  • Save caok/4065785 to your computer and use it in GitHub Desktop.
Save caok/4065785 to your computer and use it in GitHub Desktop.
/etc/kirkfile文件
# Set the log level to ALL.
log :level => :all
rack "/u/apps/erp/current/config.ru" do
# Set the host and / or port that this rack application will
# be available on. This defaults to "0.0.0.0:9090"
listen 10000
# Set the host names that this rack application wll be available
# on. This defaults to "*"
# hosts "example.com", "*.example.org"
# Set arbitrary ENV variables
env :RAILS_ENV => "production"
# Set the file that controls the redeploys. This is relative to
# the applications root (the directory that the rackup file lives
# in). Touch this file to redepoy the application.
# watch "REVISION"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment