From 6810c4c75fd2f7c388b0b8058f6c327ae15ca53e Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 5 Feb 2019 18:34:38 -0800 Subject: Fix windows service issue --- src/org/traccar/WindowsService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3