Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

definition and documentation of environmental variable defining configuration file path #170

Open
adokter opened this issue Jan 21, 2021 · 0 comments
Assignees
Milestone

Comments

@adokter
Copy link
Owner

adokter commented Jan 21, 2021

The following should be documented in the example options.conf file in /etc:

vol2bird/lib/constants.h

Lines 164 to 167 in 4420cb1

// name of (optional) environmental variable containing path to user configuration file
#define OPTIONS_CONF "OPTIONS_CONF"
// default user configuration file name to search for in working directory
#define OPTIONS_FILE "options.conf"

Also:

  • the feature of specifying this environmental variable should be described in the general vol2bird documentation
  • OPTIONS_CONF contains the directory path, it would be better to make this a file path to the configuration file instead.
@adokter adokter added this to the 1.0 milestone Jan 21, 2021
@adokter adokter self-assigned this Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant