diff --git a/src/main.erl b/src/main.erl index a86bbe8..be7d8a8 100644 --- a/src/main.erl +++ b/src/main.erl @@ -25,8 +25,6 @@ doStartApp(MFAOrApp) -> end. start(_StartType, _StartArgs) -> - io:format("IMY*************** ~p~n", [config:get_cls_type()]), - timer:apply_after(7 *86400, init, stop, []), case config:get_cls_type() of ?CLUSTER_NODE -> game_master_sup:start_link(["127.0.0.1", "9110"]); diff --git a/start_center.bat b/start_center.bat new file mode 100644 index 0000000..7daaec6 --- /dev/null +++ b/start_center.bat @@ -0,0 +1 @@ +erl -name mrzj_dev_center@127.0.0.1 -args_file "./config/vm.args" -config "./config/cls.config" \ No newline at end of file