How to restart God when you deploy a new release via Capistrano

Submitted by Ezekiel Templin 2011-07-01 05:12:04 UTC
Source:  http://www.simonecarletti.com/blog/2011/02/how-to-restart-god-when-you-deploy-a-new-release/

Referenced projects

God

An easy to configure, easy to extend monitoring framework written in Ruby.

Rubygem god

Total Downloads
1046358
Releases
39
Current Version
0.13.5
Released
2015-01-09 00:00:00 UTC
First Release
2007-07-07 07:00:00 UTC

Github mojombo/god

Watchers
1785
Forks
430
Development activity
Less active
Last commit
2015-04-26 18:35:40 UTC
Contributors
30
Issues

Capistrano

Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH.

Rubygem capistrano

Total Downloads
8273472
Releases
73
Current Version
3.3.4
Released
2014-12-10 00:00:00 UTC
First Release
2006-03-06 07:00:00 UTC

Github capistrano/capistrano

Watchers
7077
Forks
1187
Development activity
Less active
Last commit
2015-05-16 08:34:45 UTC

Ruby on Rails

Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.

Rubygem rails

Total Downloads
48649139
Releases
244
Current Version
4.2.1
Released
2015-03-19 00:00:00 UTC
First Release
2004-10-25 04:00:00 UTC

Github rails/rails

Watchers
26206
Forks
10403
Development activity
Very active
Last commit
2015-05-22 07:21:12 UTC
Contributors
30
Issues

Delayed job

Delayed_job (or DJ) encapsulates the common pattern of asynchronously executing longer tasks in the background. It is a direct extraction from Shopify where the job table is responsible for a multitude of core tasks.

Rubygem delayed_job

Total Downloads
4053402
Releases
40
Current Version
4.0.5
Released
2014-12-22 00:00:00 UTC
First Release
2009-09-06 07:00:00 UTC

Github collectiveidea/delayed_job

Watchers
3284
Forks
691
Development activity
Active
Last commit
2014-12-22 13:22:33 UTC
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.