Sorry Duncan, I misunderstood the question.  I've not used cap to do
that, though I'm sure it can be done. I'll defer to someone else to
answer. :)

- Jamis

On 9/5/07, Duncan Robertson <[EMAIL PROTECTED]> wrote:
>
> Thanks Jamis,
>
> I knew this would require me building a recipe of my own. To be honest
> I have no problem getting to the point where the app is deployable to
> the server and all the folders and symlinks are correct as far as my
> app goes. I've been a big fan (and user) of cap since switchtower :)
> The point at which I'm stuck is the daemonizing of the stand alone
> app. I guess this might not be the place to ask but I thought maybe
> someone had used capinstrano to do something similar before. i.e
>
>  - deploy stand alone app
>  - getting it running in it's own process or re-start the existing
>  - make sure it restarts if machine is re-booted
>  - make sure it continues if someone logs out
>
> Duncan
>
>
> On Sep 5, 2:18 pm, "Jamis Buck" <[EMAIL PROTECTED]> wrote:
> > The existing deployment system probably won't be what you need, since
> > it assumes you're deploying a web-application.
> >
> > In order to determine how to use Capistrano to automate a task, the
> > simplest process is this:
> >
> > 1. Write down the steps you would take if you were performing the task 
> > manually.
> >
> > 2. Break the steps into tasks (maybe 1 step == 1 task, maybe not).
> >
> > 3. Code it up in a recipe.
> >
> > - Jamis
> >
> > On 9/5/07, Duncan Robertson <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > Hi,
> >
> > > I have a stand alone ruby script that I would like to deploy to a
> > > server and run as a daemon on that machine. I know this must be
> > > possible via capinstano (I have capinstrano experience, just not with
> > > daemons) but could someone point me in the right direction?
> >
> > > I've looked at the daemons gem which I guess must be helpful in this
> > > task.
> >
> > > Best,
> > > Duncan
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to