Issue #1195
This commit is contained in:
parent
083bb4bd82
commit
2a2af4c026
|
@ -546,6 +546,11 @@ public class StartArgs
|
|||
{
|
||||
CommandLineBuilder cmd = new CommandLineBuilder();
|
||||
|
||||
// Special Stop/Shutdown properties
|
||||
ensureSystemPropertySet("STOP.PORT");
|
||||
ensureSystemPropertySet("STOP.KEY");
|
||||
ensureSystemPropertySet("STOP.WAIT");
|
||||
|
||||
if (addJavaInit)
|
||||
{
|
||||
cmd.addRawArg(CommandLineBuilder.findJavaBin());
|
||||
|
@ -571,11 +576,7 @@ public class StartArgs
|
|||
cmd.addRawArg(getMainClassname());
|
||||
}
|
||||
|
||||
// Special Stop/Shutdown properties
|
||||
ensureSystemPropertySet("STOP.PORT");
|
||||
ensureSystemPropertySet("STOP.KEY");
|
||||
ensureSystemPropertySet("STOP.WAIT");
|
||||
|
||||
|
||||
// pass properties as args or as a file
|
||||
if (dryRun && exec_properties == null)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue