diff --git a/services/dynamic-sidecar/Dockerfile b/services/dynamic-sidecar/Dockerfile index 5eb6662593f..a6e9fc0a4a1 100644 --- a/services/dynamic-sidecar/Dockerfile +++ b/services/dynamic-sidecar/Dockerfile @@ -187,7 +187,7 @@ RUN chmod +x services/dynamic-sidecar/docker/*.sh HEALTHCHECK \ --interval=10s \ --timeout=5s \ - --start-period=30s \ + --start-period=180s \ --start-interval=1s \ --retries=5 \ CMD ["python3", "services/dynamic-sidecar/docker/healthcheck.py", "http://localhost:8000/health"] diff --git a/services/dynamic-sidecar/docker/entrypoint.sh b/services/dynamic-sidecar/docker/entrypoint.sh index 9ccf61d8f67..89a33fb8a74 100755 --- a/services/dynamic-sidecar/docker/entrypoint.sh +++ b/services/dynamic-sidecar/docker/entrypoint.sh @@ -93,12 +93,12 @@ fi # Change ownership of volumes mount directory # directories are empty at this point # each individual subdirectory is a unique volume -chown --verbose --recursive "$SC_USER_NAME":"$GROUPNAME" "${DYNAMIC_SIDECAR_DY_VOLUMES_MOUNT_DIR}" +chown --recursive "$SC_USER_NAME":"$GROUPNAME" "${DYNAMIC_SIDECAR_DY_VOLUMES_MOUNT_DIR}" # Allow owner and group to edit write and execute # files from all the subdirectories # When the service access files downloaded by the dynamic-sidecar # it uses group permissions -chmod --verbose --recursive 774 "${DYNAMIC_SIDECAR_DY_VOLUMES_MOUNT_DIR}" +chmod --recursive 774 "${DYNAMIC_SIDECAR_DY_VOLUMES_MOUNT_DIR}" echo "$INFO Starting $* ..." echo " $SC_USER_NAME rights : $(id "$SC_USER_NAME")"