This commit is contained in:
Jan Bartel 2016-12-22 11:55:44 +11:00
parent 77c63a1648
commit 8cd46e7918
1 changed files with 6 additions and 5 deletions

View File

@ -552,6 +552,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());
@ -577,11 +582,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)
{