mirror of
https://bitbucket.org/projectswg/lightspeed.git
synced 2026-01-16 23:04:40 -05:00
Moved JVM arguments to where they should be in the command array
This commit is contained in:
@@ -309,9 +309,9 @@ public class DeploymentService extends LightspeedService {
|
||||
File dir = new File(deployment.getServer().getDirectory());
|
||||
String [] command = new String[] {
|
||||
java.getAbsolutePath(),
|
||||
deployment.getServer().getJvmArguments(),
|
||||
"-jar",
|
||||
jar.getAbsolutePath(),
|
||||
deployment.getServer().getJvmArguments()
|
||||
jar.getAbsolutePath()
|
||||
};
|
||||
return StarshipProcess.create(dir, command);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user