entrypoint.sh 396 B

123456789101112131415
  1. #!/usr/bin/env bash
  2. export akka_interface=$(hostname -i)
  3. echo "#Dummy" >> /etc/rc.d/init.d/functions
  4. source /etc/init.d/web-registry-portal status
  5. #mkdir -p /var/run/web-registry-portal
  6. for i in $(ls -d /configs/*.conf); do ln -sf ${i} /etc/web-registry-portal/;done
  7. if [ ! -z "$*" ]
  8. then
  9. exec "$@"
  10. else
  11. exec ${WEB_REGISTRY_BIN} ${WEB_REGISTRY_CUSTOM_OPTS} ${WEB_REGISTRY_OPTS}
  12. fi