title: Running supervisord in AWS Environment
body: <p>I'm working on adding <code>Django Channels</code> on my elastic beanstalk enviorment, but running into trouble configuring <code>supervisord</code>. Specifically, in <code>/.ebextensions</code> I have a file <code>channels.config</code> with this code:</p>
  
  <pre><code>container_commands:
    01_copy_supervisord_conf:
      command: "cp .ebextensions/supervisord/supervisord.conf /opt/python/etc/supervisord.conf"
    02_reload_supervisord:
      command: "supervisorctl -c /opt/python/etc/supervisord.conf reload"
  </code></pre>
  
  <p>This errors on the 2nd command with the following error message, through the elastic beanstalk CLI:</p>
  
  <pre><code>Command failed on instance. Return code: 1 Output: error: &lt;class 
      'FileNotFoundError'&gt;, [Errno 2] No such file or directory:
      file: /opt/python/run/venv/local/lib/python3.4/site-
      packages/supervisor/xmlrpc.py line: 562.
      container_command 02_reload_supervisord in 
      .ebextensions/channels.config failed.
  </code></pre>
  
  <p>My guess would be <code>supervisor</code> didn't install correctly, but because command 1 copies the files without an error, that leads me to think <code>supervisor</code> is indeed installed and I have an issue with the container command. Has anyone implemented <code>supervisor</code> in an AWS environment and can see where I'm going wrong?</p>