forked from mirasrael/daemons-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
poppinyunhai/daemons-rails
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Daemons Rails support (based on http://github.com/dougal/daemon_generator) ================ To get it work just add dependency to this gem in your Gemfile. == GENERATOR == rails generate daemon <name> Then insert your code in the lib/daemons/<name>.rb stub. All pids and logs will live in the normal log/ folder. This helps to make things Capistrano friendly. == CONTROL == Individual control script: > ./lib/daemons/<name>_ctl [start|stop|restart|status] > rake daemon:<name> [start|stop|restart|status] App-wide control script: > ./script/daemons [start|stop|restart] > rake daemons [start|stop|restart|status]
About
daemons gem integration into Rails 3 (based on rails_generator)
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Ruby 100.0%