Plugins - Daemon Generator

StarAdd to favorites

To get yourself rolling:

  > sudo gem install daemons
  > ./script/plugin install [optional -x] http://svn.kylemaxwell.com/rails_plugins/daemon_generator/trunk/
  > ./script/generate daemon

Then insert your code in the lib/daemons/.rb stub. All pid’s and logs will live in the normal log/ folder. This helps to make things Capistrano friendly.

Individual control script:

  > ./lib/daemons/_ctl [start|stop|restart]

App-wide control script (I add this to my capistrano recipe’s after_restart task):

  > ./script/daemons [start|stop|restart]

Kyle Maxwell

http://kylemaxwell.typepad.com/everystudent/2006/08/after_writing_r.html

http://svn.kylemaxwell.com/rails_plugins/daemon_generator/trunk/

  • Currently 4.0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Misc. Enhancements

Tags

Comments

Add a comment

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.
Recruiting software

Have a comment?