dougal / daemon_generator
- Source
- Commits
- Network (12)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
4c2ccc8
Joshua Moore (author)
Sun Jan 04 15:05:24 -0800 2009
commit 4c2ccc8baf4ce14b4f655cd0ae3e37e1f634e17f
tree bbaef919a3d02f73e974639bdd180802867577a9
parent 3b20cbdc21f90fb44f7670e37700bc4d5409b922
tree bbaef919a3d02f73e974639bdd180802867577a9
parent 3b20cbdc21f90fb44f7670e37700bc4d5409b922
| name | age | message | |
|---|---|---|---|
| |
README | Thu Apr 10 03:28:01 -0700 2008 | |
| |
generators/ | Mon Jan 12 14:30:35 -0800 2009 | |
| |
install.rb | Thu Apr 10 03:28:01 -0700 2008 |
README
Daemon Generator ================ To get yourself rolling: > sudo gem install daemons > ./script/generate 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]

