public
Clone URL: git://github.com/mvanholstyn/mhs_deployment.git
Search Repo:
Restart mongrels with god
mvanholstyn (author)
Fri May 23 09:39:18 -0700 2008
commit  4a52e84803820fcff1b9b156ab01b91411e512d8
tree    eb9a203293dc3707f7952c4960338b954a6c9984
parent  d782e27f9819688408246bf65d26ad5d4e849d34
...
9
10
11
12
 
13
14
15
...
9
10
11
 
12
13
14
15
0
@@ -9,7 +9,7 @@ namespace :deploy do
0
       migrate
0
     end
0
 
0
- restart
0
+ god.restart
0
     web.enable
0
     cleanup
0
   end
...
6
7
8
 
 
 
 
9
...
6
7
8
9
10
11
12
13
0
@@ -6,4 +6,8 @@ namespace :god do
0
     result = ERB.new(template).result(binding)
0
     put result, "#{shared_path}/config/god.god", :mode => 0644
0
   end
0
+
0
+ task :restart do
0
+ run "god restart #{rails_env}-mongrels"
0
+ end
0
 end

Comments

    No one has commented yet.