Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
Daemon Generator
================

To install:
> rails plugin install https://github.com/dougal/daemon_generator.git

To get yourself rolling:
> sudo gem install daemons
> rails generate daemon <name>

# for Rails 2.x
> ./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.
Expand Down