skip the redundant "cd" because no reverse proxy entry creation script call is required anymore

This commit is contained in:
Axel Uhl
2024-01-05 00:43:05 +01:00
parent 9c912f4553
commit c5f9dccbf2
@@ -284,9 +284,7 @@ implements Procedure<ShardingKey> {
"sudo /usr/local/bin/cp_root_mail_properties "+applicationConfiguration.getServerName()+"; "+
"cd "+serverDirectory.replaceAll("\"", "\\\\\"")+"; "+
"echo '"+applicationConfiguration.getAsEnvironmentVariableAssignments().replaceAll("\"", "\\\\\"").replaceAll("\\$", "\\\\\\$")+
"' | /home/sailing/code/java/target/refreshInstance.sh auto-install-from-stdin; ./start\";"+ // SAILING_USER ends here
// from here on as root:
"cd "+serverDirectory.replaceAll("\"", "\\\\\""),
"' | /home/sailing/code/java/target/refreshInstance.sh auto-install-from-stdin; ./start\";", // SAILING_USER ends here
"stderr: ", Level.WARNING);
logger.info("stdout: "+stdout);
}