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

config file is not being parsed #19

Open
tuxcanfly opened this issue Sep 18, 2019 · 1 comment
Open

config file is not being parsed #19

tuxcanfly opened this issue Sep 18, 2019 · 1 comment

Comments

@tuxcanfly
Copy link
Contributor

tuxcanfly commented Sep 18, 2019

The config file as set by -c, --config <config> doesn't look like it's being parsed. I couldn't find the corresponding code either.

In case this is TODO, we can consider dropping the config file option altogether and just use environment variables to provide the command line parameters (as in #18 via systemd directive EnvironmentFile)

@tynes
Copy link

tynes commented Sep 18, 2019

I noticed the same thing and was not sure of the best way to go about adding config parsing. There are a bunch of libraries for doing that but I don't know if any are really small and portable. Maybe we just have to implement a small config parsing library ourselves.

Using environment variables seems like it could work too, would save some effort. It would be ideal to support both to be similar to hsd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants