FreeTAKTeam / FreeTAKHub-Installation

FreeTAKHub-Installation
Eclipse Public License 2.0
36 stars 27 forks source link

FTS installation overwrites existing config #1

Closed naman108 closed 1 year ago

naman108 commented 2 years ago

when installing new fts instance the config should be iterated over line by line and new parameters should be added as necessary to maintain existing configuration.

jonaugustine commented 2 years ago

@naman108

I have an idea: The person who is executing the role perhaps should be given the option to choose between:

  1. A complete overwrite of an existing configuration. This may be good for the case of a new install of FreeTAKServer.
  2. Maintain the current configuration and (as you mention) add new parameters as necessary.

In any case, a copy of the configuration should be made before any changes are made to the configuration, whether only some parameters are updated or all parameters are updated.

brothercorvo commented 2 years ago

I vote for option 2.