#!/bin/bash if [[ -n "${PINPOINT_OPTS}" ]]; then exec java ${JAVA_OPTS} ${PINPOINT_OPTS} -Dpinpoint.applicationName=${APPLICATION_NAME} -Dpinpoint.agentId="${APPLICATION_NAME}-${MY_POD_NAME:(-5)}" -jar /app/app.jar else exec java ${JAVA_OPTS} -jar /app/app.jar |