BlockScoutdoes not restart if it crashes. To enable automated restarts, set the environment variable
HEART_COMMANDto whatever command you run to start
BlockScout. Configure the heart beat timeout to change how long it waits before considering the application unresponsive.
At that point, it will kill the current blockscout instance and execute the
HEART_COMMAND. By default a crash dump is not written unless you set
ERL_CRASH_DUMP_SECONDSto a positive or negative integer. See the heart documentation for more information.