Hi Sergey I think you're right - provided the paths don't change, I think everything will be fine. You'll probably still want to run ts:conf though to generate the configuration file in each deploy directory.
Cheers -- Pat On 23/03/2011, at 6:18 AM, Sergey Kojin wrote: > Why we do really need restart/rebuild on deploy? In general search > config changed rarely, so we don't need :rebuild. About restart, It's > looks like it need only to update paths in config/ > production.sphinx.conf and restart to take then into account. > > So, if setup those pid, db and logs in sphinx.yml, we don't need > restart on deploy really. Only manual call of `cap > thinking_sphinx:rebuild` when search model changed. > > Values that need set in sphinx.yml > > production: > searchd_file_path: /home/USER/sites/APP/shared/db/sphinx/production > pid_file: /home/USER/sites/APP/shared/pids/searchd.pid > searchd_log_file: /home/USER/sites/APP/shared/log/searchd.log > query_log_file: /home/USER/sites/APP/shared/log/searchd.query.log > > I'm right, or I missing something? > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
