You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not supporting anymore this fork. I created another gem for Rails 3 with generators, rakes & monitoring manager (accessiable from Rails application):
https://github.com/mirasrael/daemons-rails
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):