title: Executing script at startup but remain in foreground for interaction-Linux
body: <p>I have a python script setup on a Raspberry pi (running raspbian) that needs to boot after startup and remain in the foreground as it requires interaction.  What I have now will execute the py script in the background.  I have made a file in etc/init.d with the following info:</p>
  
  <pre><code>#! /bin/sh
  
  ### BEGIN INIT INFO
  # Provides:        myService
  # Required-Start: $ALL
  # Should-Start: 
  # Required-Stop:
  # Should-Stop:
  # Default-Start:  2 3 4 5
  # Default-Stop:
  # Description:    service boot
  ### END INIT INFO
  
  python /home/pi/Downloads/pythonTest.py
  </code></pre>
  
  <p>I can execute the "myService" script located in /etc/init.d from command line and my python script will run perfectly.  I made the myService script executable "sudo chmod u+x myService" and also updated rc.d "sudo update-rc.d myService defaults"</p>
  
  <p>I have searched hours for the commands to keep my service in the foreground so that I can interact with script, with no luck.  If anyone can help, it would be great.</p>