Starting thinking sphinx on server reboot

I wanna know how I can start my thinking_sphinx and its delayed delta
when I reboot my server. Currently if I reboot my server, I have to
use cap to start those things and it’s a little bit of an annoyance so
I’d like to automate this somehow. Anyone know how?

you can start ts by rake ts:start

I know that, but I want it to start automatically whenever the server
restarts so I dont have to run that command myself. I want this
automated.

On Feb 6, 12:11am, loganathan sellappa [email protected]

On Sat, Feb 5, 2011 at 11:51 PM, Mike C [email protected] wrote:

I wanna know how I can start my thinking_sphinx and its delayed delta
when I reboot my server.

I’m not particularly familiar with sphinx, no idea what “delayed delta”
means, but if you’re talking about the sphinx daemon itself, the usual
approach is to have a startup script in /etc/init.d/ . Take a look at
the
other scripts there, it should be pretty obvious how to write one for
sphinx.

HTH,

Hassan S. ------------------------ [email protected]
twitter: @hassan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs