提交 4635c7cb 编写于 作者: R roo00

自动启动

上级 5c495f82
......@@ -118,7 +118,7 @@ public class CommandFactory {
help += StringUtils.LF;
help += " update (passwd)" + "\t\t\t\t\t" + "upgrade to next version.";
help += StringUtils.LF;
help += " compact data (passwod)" + "\t\t\t\t\t" + "compact local h2 repository database.";
help += " compact data (passwd)" + "\t\t\t\t\t" + "compact local h2 repository database.";
help += StringUtils.LF;
help += " erase content (cms|pp|bbs|log|report) (passwd)" + "\t\t" + "remove all data except design.";
help += StringUtils.LF;
......
......@@ -137,6 +137,10 @@ public class Main {
SchedulerBuilder schedulerBuilder = new SchedulerBuilder();
Scheduler scheduler = schedulerBuilder.start();
if (Config.currentNode().autoStart()) {
startAll();
}
Matcher matcher = null;
try (BufferedReader reader = new BufferedReader(new InputStreamReader(pipedInput))) {
String cmd = "";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册