forked from Cookies_Github_mirror/AquaDX
[general] Add a simple boot checker and add debug message
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package icu.samnyan.aqua;
|
||||
|
||||
import icu.samnyan.aqua.sega.aimedb.AimeDbServer;
|
||||
import icu.samnyan.aqua.spring.util.AutoChecker;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
@@ -13,6 +14,9 @@ public class AquaServerApplication {
|
||||
|
||||
final AimeDbServer aimeDbServer = ctx.getBean(AimeDbServer.class);
|
||||
aimeDbServer.start();
|
||||
|
||||
final AutoChecker checker = ctx.getBean(AutoChecker.class);
|
||||
checker.check();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user