Type |
New Feature
|
Priority |
Normal
|
Assignee | |
RedmineID |
6068
|
Version |
tigase-server-8.0.0
|
Spent time |
1h 15m
|
Issue Votes (0)
Watchers (0)
Type |
New Feature
|
Priority |
Normal
|
Assignee | |
RedmineID |
6068
|
Version |
tigase-server-8.0.0
|
Spent time |
1h 15m
|
(followup from https://projects.tigase.org/issues/6006#note-8)
Andrzej Wójcik wrote:
Maybe a middle way?
Currently we have following options:
--properties-file=
- will trigger conversion and write config.tdsl--config-file=
- will still check for init.properties file and if found try to convert it (if I understand it correctly, log entryOldConfigHolder.detectPathAndFormat() FINEST: No property file not specified
would suggest it)?My suggestion was, that if we have only
--config-file
(then someone is aware of the new config, migrated to it, etc) we don't detect properties file. However - we could support both--config-file
and--properties-file
so if the latter is present it would convert it to--config-file
defined in the configuration option (and without it it would use default path).In principle I think that simply sticking with using
--properties-file
would fulfil %kobit requirement (and if someone has odd installation with locked write then… this is no installation to experiment with configuration IMHO, and secondly - you could specify--config-file
in writeable location to achieve same result).