changing configures...
This commit is contained in:
parent
ac24a9bcef
commit
c435ba28f9
3 changed files with 8 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
worker_processes 4;
|
worker_processes 1;
|
||||||
pid /opt/nginx/sbin/nginx.pid;
|
pid /tmp/pids/nginx.pid;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 8192;
|
worker_connections 8192;
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ end
|
||||||
|
|
||||||
package :nginx_conf, :provides=> :webserver do
|
package :nginx_conf, :provides=> :webserver do
|
||||||
description 'Nginx conf file'
|
description 'Nginx conf file'
|
||||||
transfer "#{File.dirname(__FILE__)}/../conf/nginx.conf", '/usr/local/sbin/conf/nginx.conf', :render => true do
|
transfer "#{File.dirname(__FILE__)}/../conf/nginx.conf", '/usr/local/conf/nginx.conf', :render => true do
|
||||||
pre :install, "mkdir -p /usr/local/sbin/conf/"
|
pre :install, "mkdir -p /usr/local/sbin/conf/"
|
||||||
end
|
end
|
||||||
requires :nginx
|
requires :nginx
|
||||||
|
|
|
||||||
|
|
@ -35,11 +35,11 @@ require "#{File.dirname(__FILE__)}/packages/ruby"
|
||||||
|
|
||||||
policy :diaspora, :roles => :app do
|
policy :diaspora, :roles => :app do
|
||||||
# requires :clean_dreamhost
|
# requires :clean_dreamhost
|
||||||
# requires :tools
|
requires :tools
|
||||||
# requires :rubygems
|
requires :rubygems
|
||||||
# requires :bundler
|
requires :bundler
|
||||||
# requires :diaspora_dependencies
|
requires :diaspora_dependencies
|
||||||
# requires :database
|
requires :database
|
||||||
requires :webserver
|
requires :webserver
|
||||||
requires :scm
|
requires :scm
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue