Re: textproc/sphinx rc.d script

2019-01-09 Thread Antoine Jacoutot
On Wed, Jan 09, 2019 at 10:58:27AM -0600, Jay Williams wrote: > > Ok so that's to workaround a bug. > > At the very least it warrants a comment in the rc.d script. > > Perhaps something like this? No sorry, that makes no sense. You didn't explain the issue in the comment. And also, have a look at

Re: textproc/sphinx rc.d script

2019-01-09 Thread Jay Williams
Ok so that's to workaround a bug. At the very least it warrants a comment in the rc.d script. Perhaps something like this? #!/bin/ksh # # searchd - Sphinxsearch network daemon # # Use --nodetach flag in combination with rc_bg to workaround searchd not # listening on specified network ports d

Re: textproc/sphinx rc.d script

2019-01-09 Thread Antoine Jacoutot
On Wed, Jan 09, 2019 at 09:24:48AM -0600, Jay Williams wrote: > > Why using --nodetach and then rc_bg=YES ? > > Without the --nodetach flag, the Sphinx daemon doesn't keep listening on the > specified inet ports. (There very well may be a bug in this version of > Sphinx, especially considering it'

Re: textproc/sphinx rc.d script

2019-01-09 Thread Jay Williams
Why using --nodetach and then rc_bg=YES ? Without the --nodetach flag, the Sphinx daemon doesn't keep listening on the specified inet ports. (There very well may be a bug in this version of Sphinx, especially considering it's age, but that's beyond my skills.) According to the searchd(1) man

Re: textproc/sphinx rc.d script

2019-01-08 Thread Antoine Jacoutot
On Tue, Jan 08, 2019 at 04:23:40PM -0600, Jay Williams wrote: > I've installed the Sphinx search daemon (searchd), and noticed that the port > didn't come with a rc.d script. After a good bit of man page reading and > debugging, I was able to get the Sphinx search daemon to behave properly, > namel