Yea, this is still a thing. I use a delayed function within watchdog to grab it.
nohup </dev/null >/dev/null $0 pidfetch &
echo `date +%s` >${STIMEFILE}
${SERVER} >>${LOGFILE} 2>&1 -config=${CONFIG} -cfg=${CFG} -port=${PORT} -name=${NAME} -pid=${PIDFILE} -servermod=${SERVERMODS} -bepath=${BEPATH} ${OTHERPARAMS}
pidfetch)
sleep 15s
echo `pgrep ${SERVEREXE}` >${PIDFILE}
;;