Daemon Generator plugin

Plugin details

After writing rails_cron, and working with backgroundrb, I realized that I want something simpler. Much simpler. So I wrote the daemon_generator plugin.

Websitehttp://kylemaxwell.typepad.com/everystudent/2006/08/after_writing_r.html Repositoryhttp://svn.kylemaxwell.com/rails_plugins/daemon_generator/trunk/ Author Kyle Maxwell Tags daemon, generator LicenseUnknown

Documentation

Install the plugin:
ruby script/plugin install http://svn.kylemaxwell.com/rails_plugins/daemon_generator/trunk/

After installation, 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]

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, 7 months ago