diff --git a/bin/start b/bin/start index 65b11a5..3d8e496 100755 --- a/bin/start +++ b/bin/start @@ -2,10 +2,10 @@ shutdown() { echo "SHUTDOWN" kill $(pgrep java) - kill $(pgrep ssh) + sleep 5 } -trap shutdown SIGINT SIGTERM +trap shutdown SIGTERM mkdir -p crash-reports/ dumps/ echo "$PRIVATE_KEY" > .ssh/id_rsa