title: django + nginx - auto starting django server
body: <p>I'm using nginx+fastcgi via unix socket to my django site. I'm using the following command to start the django site:</p>
  
  <pre><code>python manage.py runfcgi socket=/var/run/fcgi.django.sock method=prefork daemonize=true
  </code></pre>
  
  <p>How do I make this autostart in the event of reboot or is there some better way of starting the django server?</p>
  
  <p>Also, is what I'm doing best practice? I don't have much experience with python servers so my biggest concern is reliability / performance. Any guidance would be much appreciated!</p>