MultiChain should not shut itself off, so it's first worth understanding why this is happening.
In any event, the standard solution for these sorts of problems is to run some separate process which monitors for MultiChain being up, and if it's down, runs it again.