It depends a bit on what OS you're running. On Debian (and many other
linux systems) the preferred way is to place a script in /etc/init.d that
can start/stop the daemon.
I've been meaning to write one for sphinx for some time for our
production server. I'll try and do it over the next few days and post a
copy to the list.
-- James Healy <jimmy-at-deefa-dot-com> Sun, 17 Aug 2008 15:14:12 +1000
What user is the sphinx daemon running as after reboot? If it's running
as root, and your mongrels as something else (like they should be), then
it's possible they won't have permission to update the index files.
-- James Healy <jimmy-at-deefa-dot-com> Sun, 17 Aug 2008 21:37:25 +1000
--
Pat
On 17/08/2008, at 2:29 PM, PJAY79 wrote:
> Well, I have a 'thinkingsphinxrestart.sh' script, with user and group
> ownership of 'pj'