Skip to content

RFE: allow specifying a different config file path #3

@kcgthb

Description

@kcgthb

Hi!

I'd like to suggest the possibility to specify a different path for the configuration file, ideally set via an environment variable.

Site administrators may choose to make this tool available to their users via an environment module, and provide a default configuration file that would better be located alongside the software (in a NFS-shared installation directory, for instance), rather than having to distribute it to /etc on every single node in the cluster.

Something like SCOM_CONF that the program could check in addition to /etc/scom/scom.conf and $HOME/scom/scom.conf.

Also, in the interest of compatibility,$XDG_CONFIG_HOME could probably be used instead of a hard-coded $HOME/scom/scom.conf (see https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html)


Great work, by the way, this tool has a huge potential to make things easier for users! 🎉

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions