title: start unicorn app server when the ubuntu server starts
body: <p>I am running my rails application using ruby enterprise edition with unicorn as app server. I run this command </p>
  
  <pre><code>bundle exec unicorn -D -c /home/ubuntu/apps/st/config/unicorn.rb
  </code></pre>
  
  <p>I need to run this command soon after the system reboots or starts. I am running the app on ubuntu 10.04 LTS EC2 instance. I tried couple of examples which are mentioned <a href="http://codetunes.com/2012/nginxunicorn-configuration-for-multi-app-servers" rel="noreferrer">on this site</a> as well <a href="http://robert-reiz.com/2012/02/29/running-unicorn-as-a-service-on-debian-linux/" rel="noreferrer">as this site</a> but it’s not working for me. Any heads up</p>