
k.heroku-deploy.1.0.0.source-code.heroku_with_jstack.sh Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of heroku-deploy Show documentation
Show all versions of heroku-deploy Show documentation
Library for deploying Java applications to Heroku
#!/usr/bin/env bash
eval "$@ &"
pid=$!
trap "kill -3 $pid; kill $pid" SIGTERM
trap "kill -9 $pid; exit" SIGKILL
sleep 10
while kill -0 $pid
do
if [ -z "$JSTACK_INTERVAL" ]; then
sleep 10
else
kill -3 $pid
sleep ${JSTACK_INTERVAL}
fi
done
© 2015 - 2025 Weber Informatics LLC | Privacy Policy