Fix restart on Mac by having the process exit and setting up the plist
file to tell launchd to restart it.