Skip to content

Commit

Permalink
fixed start scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ai-republic committed Feb 14, 2024
1 parent d5c0955 commit d696201
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,8 @@ private void buildApplication(final JTextArea out) throws Throwable {
}

// generate start scripts
final StringBuffer windowsCommands = new StringBuffer("start \"\" java -jar -DconfigFile=config/config.properties -Dlog4j2.configurationFile=file:config/log4j2.xml lib/bms-to-inverter-main-0.0.1-SNAPSHOT.jar\n");
final StringBuffer linuxCommands = new StringBuffer("#!/bin/bash\njava -jar -DconfigFile=config/config.properties -Dlog4j2.configurationFile=file:config/log4j2.xml lib/bms-to-inverter-main-0.0.1-SNAPSHOT.jar &\n");
final StringBuffer windowsCommands = new StringBuffer("start \"\" java -DconfigFile=config/config.properties -Dlog4j2.configurationFile=file:config/log4j2.xml -jar lib/bms-to-inverter-main-0.0.1-SNAPSHOT.jar\n");
final StringBuffer linuxCommands = new StringBuffer("#!/bin/bash\njava -DconfigFile=config/config.properties -Dlog4j2.configurationFile=file:config/log4j2.xml -jar lib/bms-to-inverter-main-0.0.1-SNAPSHOT.jar &\n");

if (servicesPanel.isWebserverEnabled()) {
windowsCommands.append("start \"\" java -jar lib/webserver-0.0.1-SNAPSHOT.jar --spring.config.location=file:config/config.properties\n");
Expand Down

0 comments on commit d696201

Please sign in to comment.