Move system restart process control to config dict

Instead of using new RestartMode values.