Closed bernd closed 9 years ago
This might be problematic if the config file references external files (e. g. elasticsearch_config_file
or rules_file
) with a relative path. At least we have to consider these cases.
I think this should get updated to be added in /etc/graylog2/server/server.conf so the context of all packages is the same.
This will not be done for 0.9x versions. The upcoming 1.0 packages have the config files moved.
The current packages install the
graylog2.conf
to/etc/graylog2.conf
. This because of historical reasons and because it is documented everywhere.Let the packages install the config to
/etc/graylog2/server/server.conf
and create a symlink to that in/etc/graylog2.conf
for backwards compat. This needs a carefully crafted post-install script which moves existing configs to the new location and creates the symlink on updates.