Though I'm not a fan of the sudo access… granted, it would be nice to have Sphinx running as its own user, though that's certainly a complication that TS doesn't allow for.
--
Pat
> --
> You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/thinking-sphinx/-/eXSOPlfyk9wJ.
> To post to this group, send email to thinkin...@googlegroups.com.
> To unsubscribe from this group, send email to thinking-sphi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
Though I'm not a fan of the sudo access… granted, it would be nice to have Sphinx running as its own user, though that's certainly a complication that TS doesn't allow for.
I guess what I would have done is have a service of some sort (possibly hand-crafted in Ruby) running with the Sphinx user, and when it's informed (however that may be - perhaps a process signal, perhaps a socket connection, perhaps touching a given file), it'll run the indexing. Thus no need for sudo setup, and you have the clear avenue for communication from one user/process to the other. Granted, it's probably a little bit of work, and you've got something that functions fine, so stick with it :)
--
Pat
> --
> You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/thinking-sphinx/-/sC-jd6nlyekJ.