#!/bin/bash
BASEDIR=$(dirname "$(dirname "$(readlink -f "$0")")")
TOOLSDIR="$BASEDIR/tools"

if [ -f "$TOOLSDIR/stomp_broker.pid" ]; then
    kill "$(cat "$TOOLSDIR/stomp_broker.pid")" 2>/dev/null || true
    rm -f "$TOOLSDIR/stomp_broker.pid"
fi
