More beacon server startup fixes

This commit is contained in:
Christopher Schnick
2022-12-19 21:19:44 +01:00
parent 32e9772154
commit 1dcd88e709
2 changed files with 8 additions and 6 deletions

View File

@@ -13,10 +13,10 @@ public class XPipeInstallation {
public static String createExternalAsyncLaunchCommand(String installationBase, String arguments) {
var suffix = (arguments != null ? arguments : "");
if (OsType.getLocal().equals(OsType.LINUX)) {
return "nohup \"" + installationBase + "/app/bin/xpiped\" --external & disown" + suffix;
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())) + "\" " + suffix;
}
public static String createExternalLaunchCommand(String command, String arguments) {