supervisor won't give meaningful output

have a docker file set up to launch a supervisord instance inside of ubuntu under virtualbox with the following config:

[supervisord]
nodaemon=true

[program:install]
command=bash -c "/src/etc/install.sh"
directory=/src/etc/
autorestart=true
autostart=true
stopwaitsecs=90
redirect_stderr=true
stdout_logfile=/var/log/myapp_install.log

that is set to launch the following test script file from my src/etc/ directory:

  • Can I select which services to run with Atlassian's Localstack
  • Implementing MongoDB in AWS EC2 Container Service
  • Can't change repo in discourse docker
  • How to pass environment variable values into files in the docker container I'm trying to run
  • Docker swarm with NGINX proxy and websockets
  • Can't connect to dockerized rabbit from clients
  • #!/bin/bash
    echo "testing"
    

    When I launch /usr/local/bin/supervisord, I get the following output:

    /usr/local/lib/python2.7/dist-packages/supervisor/options.py:295: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
      'Supervisord is running as root and it is searching '
    2014-03-16 00:56:40,709 CRIT Supervisor running as root (no user in config file)
    2014-03-16 00:56:40,723 INFO supervisord started with pid 1
    2014-03-16 00:56:41,728 INFO spawned: 'install' with pid 8
    2014-03-16 00:56:42,730 INFO success: install entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    

    At which point, the application hangs indefinitely.

    If I try to get a ls of the /var/log directory, there’s no evidence that the myapp_install.log file was ever created.

    Obviously I’ve not set up my supervisord.conf file correctly, but it’s really odd that it’s telling me that it’s launched the script successfully and then hangs until I ctrl-c.

  • Dealing with the issue of embedded tomcat's port numbers when scaling the web container in a Heroku-like cloud
  • Powershell Install-Package from Nuget
  • ambassador pattern vs network alias pattern in docker
  • How to install Docker using .rpm files
  • When to use auto mapped Docker data volume
  • Batch install RPM packages from .tar.gz file on CentOS
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.