mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-22 05:35:51 +00:00
skip the redundant "cd" because no reverse proxy entry creation script call is required anymore
This commit is contained in:
+1
-3
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user