Skip to content

Commit 5636fac

Browse files
updating for logging
1 parent 253ba3c commit 5636fac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/entrypoint.sh

+4
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,20 @@ terminate_processes() {
2828
trap terminate_processes SIGTERM SIGINT
2929

3030
if [[ "${REGISTRY_ENABLED}" == "true" ]]; then
31+
echo "REGISTRY_ENABLED='true'. Starting the OCI Registry..."
3132
# Run the OCI_Registry in the background
3233
registry serve /etc/docker/registry/config.yml &
3334
REGISTRY_PID=$!
35+
echo "...OCI Registry successfully started."
3436
fi
3537

3638
if [[ "${PYPISERVER_ENABLED}" == "true" ]]; then
39+
echo "PYPISERVER_ENABLED='true'. Starting the PyPiServer..."
3740
# Run the pypi server in the background
3841
mkdir -p /data/packages
3942
/pypi-server/bin/pypi-server run -p ${PYPISERVER_PORT:-$PORT} --server gunicorn --backend cached-dir /data/packages --verbose --log-file /var/log/pypiserver.log &
4043
PYPI_PID=$!
44+
echo "...PyPiServer started."
4145
fi
4246

4347

0 commit comments

Comments
 (0)