entrypoint.sh 290 B

12345678910111213141516171819
  1. #!/bin/bash
  2. set -ex
  3. RUN_FLUXBOX=${RUN_FLUXBOX:-yes}
  4. RUN_XTERM=${RUN_XTERM:-yes}
  5. case $RUN_FLUXBOX in
  6. false|no|n|0)
  7. rm -f /app/conf.d/fluxbox.conf
  8. ;;
  9. esac
  10. case $RUN_XTERM in
  11. false|no|n|0)
  12. rm -f /app/conf.d/xterm.conf
  13. ;;
  14. esac
  15. exec supervisord -c /app/supervisord.conf