Update restarter.sh

The first meaty code attempt! Figured out a loop and a check using ps/grep. Then wrote a function for starting the starbound server.