mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-14 06:18:12 +00:00
aftermath of Jetty upgrade: the start script required an update because the Jetty port needs to be patched into a different file now
Change-Id: I4e563862e1924cff047a20362fab5dedd31b4340
This commit is contained in:
1 parent
4c77c1afe1
commit
06cb357fe5
1 file changed
+1
-1
+1
-1
@@ -62,7 +62,7 @@ sed $SED_ARGS "/replication.exchangeName/d" ./configuration/config.ini
|
||||
sed $SED_ARGS "/replication.exchangeHost/d" ./configuration/config.ini
|
||||
|
||||
# Ensure that Jetty Port is set correctly
|
||||
sed $SED_ARGS "s/^.*jetty.port.*$/<Set name=\"port\"><Property name=\"jetty.port\" default=\"$SERVER_PORT\"\/><\/Set>/g" ./configuration/jetty/etc/jetty-selector.xml
|
||||
sed $SED_ARGS "s/^.*jetty.http.port.*$/<Set name=\"port\"><Property name=\"jetty.http.port\" deprecated=\"jetty.port\" default=\"$SERVER_PORT\"\/><\/Set>/g" ./configuration/jetty/etc/jetty-http.xml
|
||||
|
||||
# Update monitoring with the right ports
|
||||
sed $SED_ARGS "s/127.0.0.1:[0-9][0-9][0-9][0-9]\//127.0.0.1:$SERVER_PORT\//g" ./configuration/monitoring.properties
|
||||
|
||||
Reference in new issue
Block a user