refactor god restart config.