If it's just the miner thats crashing (and you're running windows) make a mine.bat file like this
:start
ethminer.exe -whatever -parameters
goto start
Run mine.bat from cmd
Or in Linux make mine.sh file
while true; do
whatevercommandtostartminer
done
then from shell, chmod 755 mine.sh
and then from shell execute ./mine.sh
this is not work all the time ... you could get force restart button in win ... so the rig will wait for you to press the button

i get this with -f switch