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

Changing physical service config is hard #111

Open
andrewn opened this issue Apr 23, 2018 · 0 comments
Open

Changing physical service config is hard #111

andrewn opened this issue Apr 23, 2018 · 0 comments

Comments

@andrewn
Copy link
Owner

andrewn commented Apr 23, 2018

Changing the physical service config (so you can control different components) currently requires either:

  • renaming one of the sample config files to be called physical-config.json. But then, git pull will overwrite this.
  • ssh'ing into the Pi and editing /etc/systemd/system/physical.service to include the CONFIG_PATH env var pointing to the file.

Neither approach is ideal. We could:

  • load the config file from somewhere like /opt/radiodan/config/physical.json (if it exists) and mount over samba so it can be edited easily
  • allow components to be loaded dynamically like the serial service so that apps can request the components they need using WebSocket messages.
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