deprec 1.4.2 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/deprec/recipes.rb +6 -3
- metadata +2 -2
data/lib/deprec/recipes.rb
CHANGED
@@ -55,7 +55,7 @@ Capistrano.configuration(:must_exist).load do
|
|
55
55
|
setup_db # XXX fails is database already exists
|
56
56
|
end
|
57
57
|
|
58
|
-
task :
|
58
|
+
task :after_symlink, :roles => :app do
|
59
59
|
set_perms_for_mongrel_dirs
|
60
60
|
end
|
61
61
|
|
@@ -67,8 +67,11 @@ Capistrano.configuration(:must_exist).load do
|
|
67
67
|
|
68
68
|
sudo "chgrp -R #{mongrel_group} #{tmp_dir} #{shared_dir}"
|
69
69
|
sudo "chmod 0775 #{tmp_dir} #{shared_dir}"
|
70
|
-
|
71
|
-
|
70
|
+
# set owner and group of mogrels file (if they exist)
|
71
|
+
files.each { |file|
|
72
|
+
sudo "chown #{mongrel_user} #{file} || exit 0"
|
73
|
+
sudo "chgrp #{mongrel_group} #{file} || exit 0"
|
74
|
+
}
|
72
75
|
end
|
73
76
|
|
74
77
|
desc "Setup web server."
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
|
|
3
3
|
specification_version: 1
|
4
4
|
name: deprec
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.
|
7
|
-
date: 2007-05-
|
6
|
+
version: 1.5.0
|
7
|
+
date: 2007-05-05 00:00:00 +10:00
|
8
8
|
summary: deployment recipes for capistrano
|
9
9
|
require_paths:
|
10
10
|
- lib
|