More fixes for beacon start up

This commit is contained in:
Christopher Schnick 2022-12-19 21:47:27 +01:00
parent 1dcd88e709
commit 3d9937bafd
2 changed files with 5 additions and 5 deletions

View file

@ -11,16 +11,16 @@ import java.util.List;
public class XPipeInstallation {
public static String createExternalAsyncLaunchCommand(String installationBase, String arguments) {
var suffix = (arguments != null ? arguments : "");
var suffix = (arguments != null ? " " + arguments : "");
if (OsType.getLocal().equals(OsType.LINUX)) {
return "nohup \"" + installationBase + "/app/bin/xpiped\" --external " + suffix + " & disown";
return "nohup \"" + installationBase + "/app/bin/xpiped\" --external" + suffix + " & disown";
}
return "\"" + FileNames.join(installationBase, XPipeInstallation.getDaemonExecutablePath(OsType.getLocal())) + "\" " + suffix;
return "\"" + FileNames.join(installationBase, XPipeInstallation.getDaemonExecutablePath(OsType.getLocal())) + "\" --external" + suffix;
}
public static String createExternalLaunchCommand(String command, String arguments) {
var suffix = (arguments != null ? arguments : "");
var suffix = (arguments != null ? " " + arguments : "");
return "\"" + command + "\" --external" + suffix;
}

View file

@ -1 +1 @@
0.0.2.4-SNAPSHOT
0.0.2.41