Server Auto Restart on Linux

Hello I’m currently running a Garry’s Mod server on Ubuntu Server 15.10 64 bit(VPS) and everything is working great but, I wanted to know if there was some way to make the server auto restart when it crashes. I know you can achieve this on a windows server via a batch file however I’m not able to do so because I’m on Linux.

http://gameservermanagers.com/ would be the best option