For other people who are searching for an upstart script, this is what I
used. Any improvements recommended?
-------
description "Sphinx Upstart script"
start on startup
stop on shutdown
console output
respawn
script
env RAILS_ENV=production
exec sudo -u deployment_user -i /usr/local/sphinx/bin/searchd --config
/var/www/site/config/production.sphinx.conf --nodetach
end script
--
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/-/deXAVULnhesJ.
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.