Sha256: c8506c457f3da44484b67be58b29882454098aadef53550d9ced8e71396b58a3

Contents?: true

Size: 707 Bytes

Versions: 1

Compression:

Stored size: 707 Bytes

Contents

h1. merb_daemon_gen

A plugin for creating psuedo-scheduled jobs in merb. This merb plugin is based on dougal / daemon_generator

h2. Requirements

* merb-core >= 1.0.7.1
* daemons  >= 0.1.10
 	  
h2. Usage

To get yourself rolling:

  $ sudo gem install daemons
  $ merb-gen daemon <name>

Then insert your code in the lib/daemons/<name>.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/<name>_ctl [start|stop|restart]

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

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

h2. Notes

* This plugin is not finished yet. 

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jaigouk-merb_daemon-0.0.1.5 README.textile