Created
October 17, 2011 08:16
-
-
Save octplane/1292189 to your computer and use it in GitHub Desktop.
God Patch to allow restarting a daemon which has been programmatically stopped (cf http://groups.google.com/group/god-rb/browse_thread/thread/18eb04f0f448b661 )
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module God | |
| class Watch < Task | |
| VALID_STATES = [:init, :up, :start, :restart, :stop] | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment