A gem with a mixin to let you turn a class into something that runs like a service, which you can MyService.start, MyService.stop, and MyService.restart. It tracks its own pid. For now, pretty sure it requires that the class is running inside a rails context (e.g. run by script/runner MyService.start), but that could probably be changed without too much difficulty.

Required Ruby Version

None

Authors

Brian Percival

Versions

  1. 0.0.6 February 08, 2011 (9 KB)
  2. 0.0.5 January 19, 2011 (9 KB)
  3. 0.0.4 January 18, 2011 (9 KB)
  4. 0.0.3 November 06, 2010 (9 KB)
  5. 0.0.2 February 18, 2010 (8.5 KB)

SHA 256 checksum