aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;