All Downloads are FREE. Search and download functionalities are using the official Maven repository.

k.heroku-deploy.2.0.16.source-code.heroku_with_jstack.sh Maven / Gradle / Ivy

There is a newer version: 3.0.7
Show newest version
#!/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 - 2024 Weber Informatics LLC | Privacy Policy