palmtree 0.0.5 → 0.0.6
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/palmtree/recipes/ferret.rb +5 -3
- data/lib/palmtree/version.rb +1 -1
- metadata +2 -2
@@ -32,7 +32,9 @@ Capistrano::Configuration.instance(true).load do
|
|
32
32
|
namespace :server do
|
33
33
|
desc "Configure ferret server"
|
34
34
|
task :configure, :role => :app do
|
35
|
-
config = {rails_env => {'port' => ferret_port,
|
35
|
+
config = {rails_env => {'port' => ferret_port,
|
36
|
+
'host' => ferret_host,
|
37
|
+
'pid_file' => "#{current_path}/log/ferret-#{rails_env}.pid"}}
|
36
38
|
ferret_server_yml = config.to_yaml
|
37
39
|
|
38
40
|
run "if [ ! -d #{shared_path}/config ]; then mkdir #{shared_path}/config; fi"
|
@@ -50,12 +52,12 @@ Capistrano::Configuration.instance(true).load do
|
|
50
52
|
|
51
53
|
desc "Start ferret server"
|
52
54
|
task :start, :role => :app do
|
53
|
-
run "RAILS_ENV=#{rails_env} #{current_path}/script/runner
|
55
|
+
run "RAILS_ENV=#{rails_env} #{current_path}/script/runner #{current_path}/script/ferret_start"
|
54
56
|
end
|
55
57
|
|
56
58
|
desc "Stop ferret server"
|
57
59
|
task :stop, :role => :app do
|
58
|
-
run "RAILS_ENV=#{rails_env} #{current_path}/script/runner
|
60
|
+
run "RAILS_ENV=#{rails_env} #{current_path}/script/runner #{current_path}/script/ferret_stop"
|
59
61
|
end
|
60
62
|
|
61
63
|
desc "Restart ferret server"
|
data/lib/palmtree/version.rb
CHANGED
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.1
|
|
3
3
|
specification_version: 1
|
4
4
|
name: palmtree
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.
|
7
|
-
date: 2007-05-
|
6
|
+
version: 0.0.6
|
7
|
+
date: 2007-05-30 00:00:00 +01:00
|
8
8
|
summary: Collection of Capistrano recipes
|
9
9
|
require_paths:
|
10
10
|
- lib
|