diff options
| author | mo khan <mo@mokhan.ca> | 2014-08-23 08:30:45 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-08-23 08:30:45 -0600 |
| commit | a3fde7ec90f2a7fba934fdf3b81359afdd18f6a3 (patch) | |
| tree | 4e41d0f090ae6191a7b7463fedd50226a424af88 /config/deploy.rb | |
| parent | 889ffa699596edea5e3d49ffcce27ce5abd73170 (diff) | |
restart delayed jobs and unicorn after deployment.
Diffstat (limited to 'config/deploy.rb')
| -rw-r--r-- | config/deploy.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/deploy.rb b/config/deploy.rb index 682b9474..f0b060ef 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -52,6 +52,8 @@ namespace :deploy do on roles(:app), in: :sequence, wait: 5 do # Your restart mechanism here, for example: # execute :touch, release_path.join('tmp/restart.txt') + invoke 'delayed_job:restart' + invoke 'unicorn:restart' end end |
