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

Relative path for available.conf? #197

Open
glynhudson opened this issue Feb 24, 2023 · 3 comments
Open

Relative path for available.conf? #197

glynhudson opened this issue Feb 24, 2023 · 3 comments

Comments

@glynhudson
Copy link
Member

glynhudson commented Feb 24, 2023

Could we use a relative path here i.e conf/available.conf instead of hardcoding the path to handle emonhub being installed in a different location?

filename = "/opt/openenergymonitor/emonhub/conf/available.conf"

Also, even when autoconf is disabled emonhub still tries to load available.conf

@h1771t
Copy link

h1771t commented Mar 11, 2023

please also see: https://community.openenergymonitor.org/t/mqtt-interfacer-gets-no-data/23097
related to this issue when trying to use emonhub as standalone.
Thanks

@borpin
Copy link
Contributor

borpin commented Feb 16, 2024

Could create a symlink from /etc/emonhub/ at install time to point back to where autoconf is and use the /etc/emonhub/ location in the script.

@borpin
Copy link
Contributor

borpin commented Feb 29, 2024

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

3 participants