#!/usr/bin/env bash
cd /fly/dxpark/parkos
name=parkos

pid=`ps aux | grep java | grep $name | grep -v grep | awk 'NR==1{print $2}'`
if [ -z $pid ]
then
    echo $name not running
else
    echo killing $pid
    kill -9 $pid
fi
