aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-02-05 18:34:38 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-02-05 18:34:38 -0800
commit6810c4c75fd2f7c388b0b8058f6c327ae15ca53e (patch)
tree98ee711104ab6918c0fb54a7d06ab2a9be71c29a
parent36b5e6a4c78cc8046f41cbd4bbb660a0bf7482ed (diff)
downloadtrackermap-server-6810c4c75fd2f7c388b0b8058f6c327ae15ca53e.tar.gz
trackermap-server-6810c4c75fd2f7c388b0b8058f6c327ae15ca53e.tar.bz2
trackermap-server-6810c4c75fd2f7c388b0b8058f6c327ae15ca53e.zip
Fix windows service issuev4.3
-rw-r--r--src/org/traccar/WindowsService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/WindowsService.java b/src/org/traccar/WindowsService.java
index 1906a6d50..4a8955608 100644
--- a/src/org/traccar/WindowsService.java
+++ b/src/org/traccar/WindowsService.java
@@ -56,8 +56,8 @@ public abstract class WindowsService {
File jar = new File(WindowsService.class.getProtectionDomain().getCodeSource().getLocation().toURI());
String command = javaBinary
- + " -Duser.dir=\"" + jar.getAbsolutePath() + "\""
- + " -jar \"" + jar.getParentFile().getAbsolutePath() + "\""
+ + " -Duser.dir=\"" + jar.getParentFile().getAbsolutePath() + "\""
+ + " -jar \"" + jar.getAbsolutePath() + "\""
+ " --service \"" + config + "\"";
boolean success = false;