I have a ruby job that is to run as a daemon on a bunch of machines
(basically in /etc/init.d somewhere).
It seems like Capistrano provides the correct framework for deploying
something like this â?? but it is very rails-centric.
It appears that I could define a new role called, say, :deamon â?? but
itâ??s not obvious to me how to extend the existing tasks to also function
on this role, when I want them to.
Any advice?
Thanks,
Mark
On 6/23/06, Mark N. [email protected] wrote:
I have a ruby job that is to run as a daemon on a bunch of machines
(basically in /etc/init.d somewhere).
It seems like Capistrano provides the correct framework …
I don’t know about Capistrano, but if you are writing scripts which
are simply daemons to be launched in /etc/init.d, then I think you
want to check out the gem called:
daemons (0.4.4)
A toolkit to create and control daemons in different ways