title: Continuously running and restarting python scripts on a remote server
body: <p>I have 3-4 python scripts which I want to run continuously on a remote server(which i am accessing through ssh login).The script might crash due to exceptions(handling all the exceptions is not practical now), and in such cases i want to immediately restart the  script.
  <br>What i have done till now.<br>
  I have written a .conf file in /etc/init</p>
  
  <blockquote>
    <p>chdir /home/user/Desktop/myFolder<br>
    exec python myFile.py<br>
    respawn</p>
  </blockquote>
  
  <p>This seemed to work fine for about 4 hours and then it stopped working and i could not start the .conf file.
  <br>Suggest changes to this or i am also open to a new approach </p>