OSX BASH command for stopping and starting RAATServer

So I found this on another thread. This is precisely what I need but for OSX…