title: Run Bash Commands in Parallel and Exit Both of Them
body: <p>I have the following script that I want to run. The problem is that it doesn't gracefully exit; when I press <code>Ctrl-C</code> only compass terminates, but <code>runserver</code> is still going in the background and needs to be manually killed. Is there a way to get both of these to exit gracefully? If not through <code>Ctrl-C</code>, is there something else I should be using to kill these processes together?</p>
  
  <p>Thanks!</p>
  
  <pre><code>#!/bin/bash
  cd /path/venv
  source ./bin/activate
  service gunicorn stop
  cd /path/www/static/sass_sorting
  compass watch &amp;
  /path/venv/djo/manage.py runserver &amp;
  </code></pre>