recipiez 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/recipiez/version.rb +1 -1
- data/recipes/thin.rb +2 -2
- metadata +3 -3
data/lib/recipiez/version.rb
CHANGED
data/recipes/thin.rb
CHANGED
|
@@ -4,12 +4,12 @@ Capistrano::Configuration.instance(true).load do
|
|
|
4
4
|
|
|
5
5
|
desc "configures thin, requires num_servers and start_port"
|
|
6
6
|
task :configure, :roles => :app do
|
|
7
|
-
sudo "thin config -C /etc/thin/#{application}.yml -c #{current_path} --servers #{num_servers} -e #{rails_env} --port #{start_port}"
|
|
7
|
+
sudo "thin config -C /etc/thin/#{application}.yml -c #{current_path} --servers #{num_servers} -e #{rails_env} --port #{start_port} --log #{current_path}/log/#{application}_thin.log"
|
|
8
8
|
end
|
|
9
9
|
|
|
10
10
|
desc "configures thin with rackup eg. Sinatra. Requires thin_port, rack_env"
|
|
11
11
|
task :configure_rack, :roles => :app do
|
|
12
|
-
sudo "thin config -C /etc/thin/#{application}.yml -c #{current_path} --servers #{num_servers} --port #{start_port} -e #{rack_env} -R #{current_path}/config.ru"
|
|
12
|
+
sudo "thin config -C /etc/thin/#{application}.yml -c #{current_path} --servers #{num_servers} --port #{start_port} -e #{rack_env} -R #{current_path}/config.ru --log #{current_path}/log/#{application}_thin.log"
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
desc "install thin"
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 6
|
|
8
|
-
-
|
|
9
|
-
version: 0.6.
|
|
8
|
+
- 3
|
|
9
|
+
version: 0.6.3
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Alastair Brunton
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2014-
|
|
17
|
+
date: 2014-06-03 00:00:00 +02:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|