This commit is contained in:
@@ -170,6 +170,7 @@ public final class Application {
|
|||||||
private Application(final boolean singletonrun, final AnyValue config) {
|
private Application(final boolean singletonrun, final AnyValue config) {
|
||||||
this.singletonrun = singletonrun;
|
this.singletonrun = singletonrun;
|
||||||
this.config = config;
|
this.config = config;
|
||||||
|
System.setProperty("redkale.version", Redkale.getDotedVersion());
|
||||||
|
|
||||||
final File root = new File(System.getProperty(RESNAME_APP_HOME));
|
final File root = new File(System.getProperty(RESNAME_APP_HOME));
|
||||||
this.resourceFactory.register(RESNAME_APP_TIME, long.class, this.startTime);
|
this.resourceFactory.register(RESNAME_APP_TIME, long.class, this.startTime);
|
||||||
@@ -695,7 +696,6 @@ public final class Application {
|
|||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// private void signalHandle() {
|
// private void signalHandle() {
|
||||||
// //http://www.comptechdoc.org/os/linux/programming/linux_pgsignals.html
|
// //http://www.comptechdoc.org/os/linux/programming/linux_pgsignals.html
|
||||||
// String[] sigs = new String[]{"HUP", "TERM", "INT", "QUIT", "KILL", "TSTP", "USR1", "USR2", "STOP"};
|
// String[] sigs = new String[]{"HUP", "TERM", "INT", "QUIT", "KILL", "TSTP", "USR1", "USR2", "STOP"};
|
||||||
|
|||||||
Reference in New Issue
Block a user