diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-27 15:12:28 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-27 15:12:28 +1300 |
commit | 7db2eb1ad224bf00608ebbcfe13bfa7fd519a7fc (patch) | |
tree | 60840d3b8b39c07802e8c65fee10e8222f992435 /src/org/traccar/Main.java | |
parent | 6eab101b0070cf5af8fd9e177a2a3ba40e5e836c (diff) | |
download | trackermap-server-7db2eb1ad224bf00608ebbcfe13bfa7fd519a7fc.tar.gz trackermap-server-7db2eb1ad224bf00608ebbcfe13bfa7fd519a7fc.tar.bz2 trackermap-server-7db2eb1ad224bf00608ebbcfe13bfa7fd519a7fc.zip |
Host database console using Jetty
Diffstat (limited to 'src/org/traccar/Main.java')
-rw-r--r-- | src/org/traccar/Main.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/org/traccar/Main.java b/src/org/traccar/Main.java index 7c2e00ca0..7ff93fda6 100644 --- a/src/org/traccar/Main.java +++ b/src/org/traccar/Main.java @@ -33,18 +33,12 @@ public final class Main { if (Context.getWebServer() != null) { Context.getWebServer().start(); } - if (Context.getDatabaseConsole() != null) { - Context.getDatabaseConsole().start(); - } Runtime.getRuntime().addShutdownHook(new Thread() { @Override public void run() { Log.info("Shutting down server..."); - if (Context.getDatabaseConsole() != null) { - Context.getDatabaseConsole().stop(); - } if (Context.getWebServer() != null) { Context.getWebServer().stop(); } |