Categories: None [Edit]

acts_as_service

https://rubygems.org/gems/acts_as_service
https://github.com/bmpercy/acts_as_service
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.

Total

Ranking: 32,561 of 186,995
Downloads: 38,058

Daily

Ranking: 50,889 of 186,959
Downloads: 12

Depended by

RankDownloadsName

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconbmpercy