Remove unnecessary restart
This commit is contained in:
parent
b93f023481
commit
ad6d6f13bb
|
@ -48,12 +48,12 @@ set :nginx_server_name, 'cfp.openfest.org'
|
||||||
|
|
||||||
namespace :deploy do
|
namespace :deploy do
|
||||||
|
|
||||||
desc 'Restart application'
|
after :restart, :clear_cache do
|
||||||
task :restart do
|
on roles(:web), in: :groups, limit: 3, wait: 10 do
|
||||||
on roles(:app), in: :sequence, wait: 5 do
|
# Here we can do anything such as:
|
||||||
execute '/home/barf/restart-clarion-production-server'
|
# within release_path do
|
||||||
|
# execute :rake, 'cache:clear'
|
||||||
|
# end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
after :publishing, :restart
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue