Bind / Named in a container
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 lines
198 B

  1. #!/bin/bash
  2. # run everything in start.d
  3. find /start.d -type f -executable -exec {} \;
  4. # Cleanly kill supervisor when container is stopped
  5. trap 'kill $(jobs -p)' EXIT
  6. # start services
  7. supervisord