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
    1. source

      1. 0.0.6 source February 08, 2011 (9 KB)
  2. 0.0.5
    1. source

      1. 0.0.5 source January 19, 2011 (9 KB)
  3. 0.0.4
    1. source

      1. 0.0.4 source January 18, 2011 (9 KB)
  4. 0.0.3
    1. source

      1. 0.0.3 source November 06, 2010 (9 KB)
  5. 0.0.2
    1. source

      1. 0.0.2 source February 18, 2010 (8.5 KB)

SHA 256 checksum