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 ports/infrastructure/templates/rc.template to write
proper rc.d scripts.
You should bump the package as well and provide a proper diff :-)



> #!/bin/ksh
> #
> # searchd - Sphinxsearch network daemon
> #
> # Use --nodetach flag in combination with rc_bg to workaround searchd not #
> listening on specified network ports
> 
> daemon="/usr/local/bin/searchd"
> daemon_flags="--nodetach"
> # daemon_user="www"
> 
> # force start the daemon in background
> rc_bg=YES
> 
> . /etc/rc.d/rc.subr
> 
> rc_cmd $1
> 
> 
> -- 
> Jay Williams
> 

-- 
Antoine

Reply via email to