mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 05:11:04 +00:00
Make clear that configuration has not been overwritten if no-overwrite is present
This commit is contained in:
1 parent
b7b2af46a0
commit
23cf52d39a
1 file changed
+4
-1
@@ -383,7 +383,7 @@ if [[ "$@" == "install" ]] || [[ "$@" == "all" ]]; then
|
||||
sed -i "s/expedition.udp.port=.*$/expedition.udp.port=$EXPEDITION_PORT/g" $ACDIR/configuration/config.ini
|
||||
sed -i "s/replication.exchangeName=.*$/replication.exchangeName=$REPLICATION_CHANNEL/g" $ACDIR/configuration/config.ini
|
||||
|
||||
echo "I have updated the configuration with the following data:"
|
||||
echo "I have read the following configuration from $ACDIR/env.sh:"
|
||||
echo "SERVER_NAME: $SERVER_NAME"
|
||||
echo "SERVER_PORT: $SERVER_PORT"
|
||||
echo "MEMORY: $MEMORY"
|
||||
@@ -393,6 +393,9 @@ if [[ "$@" == "install" ]] || [[ "$@" == "all" ]]; then
|
||||
echo "REPLICATION_CHANNEL: $REPLICATION_CHANNEL"
|
||||
echo ""
|
||||
|
||||
if [ -f $ACDIR/no-overwrite ]; then
|
||||
echo "ATTENTION: I found the file $ACDIR/no-overwrite. This means that I did NOT use env.sh from this branch."
|
||||
fi
|
||||
echo "Installation complete. You may now start the server using ./start"
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user