Solved a problem I’ve been having with the murmur voice chat server. It kept shutting off every two hours (turns out it was my webhost for reasons I can’t explain). I’ve been tinkering with scripts and even wrote one up in vi. Had problems making it into a cron job due to some stupid reason. I figured it out but it took being a total smartass to try it. Now if the server shuts off it will auto restart in about a minute or less. If it detects that it’s already running it will terminate the process and come back one minute later.
Good, now I can go to work or out for a walk and not have to worry about the server comitting sepuku.