Permalink
Browse files

Added default lighttpd config in config/lighttpd.conf and added a def…

…ault runner for lighttpd in script/lighttpd (works like script/server, but using lighttpd and FastCGI) [DHH]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2786 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent ef3e192 commit 5f73ba11ceba20408facbd3240bea19682cd09e1 @dhh dhh committed Oct 28, 2005
View
@@ -1,5 +1,7 @@
*SVN*
+* Added default lighttpd config in config/lighttpd.conf and added a default runner for lighttpd in script/lighttpd (works like script/server, but using lighttpd and FastCGI) [DHH]
+
* Added plugin generator to create a stub structure for a new plugin in vendor/plugins (see "script/generate plugin" for help) [DHH]
* Added app/services as a default dir in the Rails skeleton and to the load path. Use it to keep classes like MaintenanceService and PaymentGateway [DHH]
View
@@ -38,7 +38,7 @@ HTML_FILES = %w( 404.html 500.html index.html robots.txt favicon.ico
javascripts/prototype.js javascripts/scriptaculous.js
javascripts/effects.js javascripts/dragdrop.js javascripts/controls.js
javascripts/slider.js )
-BIN_FILES = %w( breakpointer console destroy generate performance/benchmarker performance/profiler process/reaper process/spawner process/spinner runner server )
+BIN_FILES = %w( breakpointer console destroy generate performance/benchmarker performance/profiler process/reaper process/spawner process/spinner runner server lighttpd )
VENDOR_LIBS = %w( actionpack activerecord actionmailer activesupport actionwebservice railties )
@@ -164,6 +164,7 @@ task :copy_configs do
cp "configs/routes.rb", "#{PKG_DESTINATION}/config/routes.rb"
cp "configs/apache.conf", "#{PKG_DESTINATION}/public/.htaccess"
+ cp "configs/lighttpd.conf", "#{PKG_DESTINATION}/config/lighttpd.conf"
cp "environments/boot.rb", "#{PKG_DESTINATION}/config/boot.rb"
cp "environments/environment.rb", "#{PKG_DESTINATION}/config/environment.rb"
@@ -37,8 +37,9 @@ def manifest
:app_name => File.basename(File.expand_path(@destination_root)),
:socket => @socket
}
- m.template "configs/routes.rb", "config/routes.rb"
- m.template "configs/apache.conf", "public/.htaccess"
+ m.template "configs/routes.rb", "config/routes.rb"
+ m.template "configs/apache.conf", "public/.htaccess"
+ m.template "configs/lighttpd.conf", "config/lighttpd.conf"
# Environments
m.file "environments/boot.rb", "config/boot.rb"
@@ -48,7 +49,7 @@ def manifest
m.file "environments/test.rb", "config/environments/test.rb"
# Scripts
- %w( breakpointer console destroy generate performance/benchmarker performance/profiler process/reaper process/spawner process/spinner runner server ).each do |file|
+ %w( breakpointer console destroy generate performance/benchmarker performance/profiler process/reaper process/spawner process/spinner runner server lighttpd ).each do |file|
m.file "bin/#{file}", "script/#{file}", script_options
end

0 comments on commit 5f73ba1

Please sign in to comment.