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