title: How to do "tail this file until that process stops" in Bash?
body: <p>I have a couple of scripts to control some applications (start/stop/list/etc). Currently my "stop" script just sends an interrupt signal to an application, but I'd like to have more feedback about what application does when it is shutting down. Ideally, I'd like to start tailing its log, then send an interrupt signal and then keep tailing that log until the application stops.</p>
  
  <p>How to do this with a shell script?</p>