Permalink
Browse files

changes

  • Loading branch information...
jexchan committed Mar 11, 2013
1 parent 630c0d1 commit 2a52d90d407945f124664caf59066275d2d9a2b4
Showing with 2 additions and 1 deletion.
  1. +1 −1 app/views/layouts/application.html.haml
  2. +1 −0 config/deploy.rb
@@ -2,7 +2,7 @@
%html{ :lang => "en", 'ng-app' => 'openClass'}
%head
%meta{ :charset => "utf-8" }
- %title 开放课堂 Capistrano New
+ %title 开放课堂 Capistrano Production
%meta{ :name => "viewport", :content => "width=device-width, initial-scale=1.0" }
= csrf_meta_tags
View
@@ -55,6 +55,7 @@
task :stop do ; end
task :restart, :roles => :app, :except => { :no_release => true } do
run "touch #{File.join(current_path,'tmp','restart.txt')}"
+ run "nginx -s reload"
# run "#{try_sudo} touch #{File.join(current_path,'tmp','restart.txt')}"
end

0 comments on commit 2a52d90

Please sign in to comment.