README.textile in jaigouk-merb_daemon-0.0.1.5 vs README.textile in jaigouk-merb_daemon-0.0.1.7
- old
+ new
@@ -1,5 +1,7 @@
+h1. Still working on the codes.
+
h1. merb_daemon_gen
A plugin for creating psuedo-scheduled jobs in merb. This merb plugin is based on dougal / daemon_generator
h2. Requirements
@@ -10,20 +12,17 @@
h2. Usage
To get yourself rolling:
$ sudo gem install daemons
- $ merb-gen daemon <name>
+ $ 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.
+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]
+ $ ./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.