#!/usr/bin/env bash

#example script to stop application running in background, such as a 
#service running on FreeBSD

app_name="example.jar"
pid=`ps aux | grep $app_name | sort | awk 'NR==1{print $2}'`
kill -9 $pid > /dev/null 2>&1
Add note about generic bash stop script
Add note about generic bash stop script
