entrypoint.sh 190 B

123456789101112
  1. #!/bin/bash
  2. set -e
  3. set -o pipefail
  4. rm -f /app/soft/flume-1.7.0/logs/*
  5. chmod 777 /app/soft/flume-1.7.0/start.sh
  6. sed -i 's/nodaemon=false/nodaemon=true/g' /etc/supervisord.conf
  7. exec "$@"