From 5636fac1685514155f2ffacbb9bc5595838d1772 Mon Sep 17 00:00:00 2001 From: Ryan Campbell Date: Tue, 23 Jul 2024 14:04:51 +0000 Subject: [PATCH] updating for logging --- src/entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/entrypoint.sh b/src/entrypoint.sh index bdeab94..87c401a 100644 --- a/src/entrypoint.sh +++ b/src/entrypoint.sh @@ -28,16 +28,20 @@ terminate_processes() { trap terminate_processes SIGTERM SIGINT if [[ "${REGISTRY_ENABLED}" == "true" ]]; then + echo "REGISTRY_ENABLED='true'. Starting the OCI Registry..." # Run the OCI_Registry in the background registry serve /etc/docker/registry/config.yml & REGISTRY_PID=$! + echo "...OCI Registry successfully started." fi if [[ "${PYPISERVER_ENABLED}" == "true" ]]; then + echo "PYPISERVER_ENABLED='true'. Starting the PyPiServer..." # Run the pypi server in the background mkdir -p /data/packages /pypi-server/bin/pypi-server run -p ${PYPISERVER_PORT:-$PORT} --server gunicorn --backend cached-dir /data/packages --verbose --log-file /var/log/pypiserver.log & PYPI_PID=$! + echo "...PyPiServer started." fi