librelist archives

« back to archive

How-to automatically start Redis & detach?

How-to automatically start Redis & detach?

From:
Jonathan
Date:
2009-11-20 @ 23:00
Hi again,

I've finally got my Job management wrapper written for use w/ Resque  
(thanks, again for all your previous help, and, btw, this really is a  
sweet product!).

But now,  I'm writing up my release notes...
Question: how are folks starting the redis database?
	(a) by hand!?
	(d) by running rake redis:start & then (somehow) passing-in the cntrl- 
\ ...
	(c) via some command that I don't know

Assuming your answer is _not_ "a", I would appreciate hearing how  
you're doing this.

Background: my app will likely be deployed via a Rightscale "right- 
script" (r)  ...so I can't leave the redis process attached.

Thanks in advance,
Jonathan

p.s. I'd appreciate your answers, and "yes", I'll check the redis  
mailing list too. ;-)

Re: How-to automatically start Redis & detach?

From:
Adam Tucker
Date:
2009-11-20 @ 23:26
It was super simple to install Redis manually; and then I just turned on
daemonization in the config file.  It's been working great for us!

-Adam

On Fri, Nov 20, 2009 at 6:00 PM, Jonathan <jonathan@singlefeed.com> wrote:

> Hi again,
>
> I've finally got my Job management wrapper written for use w/ Resque
> (thanks, again for all your previous help, and, btw, this really is a
> sweet product!).
>
> But now,  I'm writing up my release notes...
> Question: how are folks starting the redis database?
>        (a) by hand!?
>        (d) by running rake redis:start & then (somehow) passing-in the
> cntrl-
> \ ...
>        (c) via some command that I don't know
>
> Assuming your answer is _not_ "a", I would appreciate hearing how
> you're doing this.
>
> Background: my app will likely be deployed via a Rightscale "right-
> script" (r)  ...so I can't leave the redis process attached.
>
> Thanks in advance,
> Jonathan
>
> p.s. I'd appreciate your answers, and "yes", I'll check the redis
> mailing list too. ;-)
>

Re: How-to automatically start Redis & detach?

From:
Jonathan
Date:
2009-11-21 @ 06:31
Thanks, Adam!

Too many late night coding sessions is not good for thinking clearly ;)
I totally forgot about /etc/redis.conf !


On Nov 20, 2009, at 3:26 PM, Adam Tucker wrote:

> It was super simple to install Redis manually; and then I just  
> turned on daemonization in the config file.  It's been working great  
> for us!
>
> -Adam