jmazzi / daemon_generator forked from dougal/daemon_generator
- Source
- Commits
- Network (12)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
README | Thu Apr 10 03:28:01 -0700 2008 | |
| |
generators/ | ||
| |
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]

