Reboot camera when error occur

Hi friends

how do we set camera to reboot when FS issue occur