title: How to run django development server at startup?
body: <p>I added following command to Sessions -> Startup program but it didn't work. I'm using Ubuntu.</p>
  
  <pre><code>sudo -u www-data python manage.py 192.168.1.2:8001
  </code></pre>
  
  <p>192.168.1.2 is the ip address on ath0. Is it still not available for binding at the stage when this command is executed?</p>
  
  <p>What I currently do is add another cronjob to restart the development server if it's not running every 5 minutes? Is it a better way to run it at startup?</p>