title: Have process automatically restart with upstart and initctl
body: <p>I'm on CentOS 6.3.</p>
  
  <p>I've written a script in Python for the purpose of an app that I'm making. I want it to run as a process that will restart itself if it fails.</p>
  
  <p>I have a .conf file like so:</p>
  
  <pre><code>start on runlevel [2345]
  stop on runlevel [06]
  script
      /usr/bin/python /home/myself/myscript.py
  end script
  </code></pre>
  
  <p>I can start it with <code>initctl start myscript</code> but when it fails, it doesn't restart. If I do <code>initctl status myscript</code> it says <code>stop/waiting</code>.</p>