title: start thinking sphinx on rails server startup
body: <p>I have a chain of nginx + passenger for my rails app.</p>
  
  <p>Now after each server restart i need to write in terminal in project folder </p>
  
  <pre><code>rake ts:start
  </code></pre>
  
  <p>but how can i automatize it? </p>
  
  <p>So that after each server restart thinking sphinx is automatically started without my command in terminal?</p>
  
  <p>I use rails 3.2.8   and ubuntu 12.04.</p>
  
  <p>I can not imagine what can i try ever, please help me.</p>
  
  <p>How can i do this, give some advices?</p>