simple script for running some command, & restarting when it fails