Commit 06cb3f6f3c7574c004f321b6b45682b9296b46c6

Authored by Fernando Brito
1 parent 5140aaee
Exists in master and in 2 other branches v2, wikilibras

Capistrano task to restart upstart thin

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
config/deploy.rb
... ... @@ -42,8 +42,8 @@ set :keep_releases, 3
42 42 namespace :deploy do
43 43 desc 'Restart application'
44 44 task :restart do
45   - on roles(:app), in: :sequence, wait: 5 do
46   - run "rvmsudo restart vlibras-web2"
  45 + on roles(:web), in: :sequence, wait: 5 do
  46 + sudo "restart vlibras-web2"
47 47 end
48 48 end
49 49  
... ...