I inserted the following code:
Tests to see if subsonic_pidfile is running, otherwise, it will delete the pidfile, and continue with normal start logic.
This also allows you to crontab your subsonic
*/10 * * * * /home/subsonic/subsonic.sh
#################################
cd `dirname $0`
###
if test -r $SUBSONIC_PIDFILE; then
pid=`cat $SUBSONIC_PIDFILE`
if `kill -CHLD $pid >/dev/null 2>&1`; then
exit 0
fi
rm -f $SUBSONIC_PIDFILE
fi
###
${JAVA} -Xmx${SUBSONIC_MAX_MEMORY}m \
#################################