I added following command to Sessions -> Startup program but it didn't work. I'm using Ubuntu.
sudo -u www-data python manage.py 192.168.1.2:8001
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?
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?