Possibility to have the zenoh/zenohd configuration splitted across multiple files. #70
gabrik
started this conversation in
Ideas and new features
Replies: 1 comment 8 replies
-
Two issues with this, one purely semantic and the other halfway between technical and semantic:
|
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, while developing the Zenoh Flow plugin for Zenoh we had the need of modifying the zenohd configuration in order to add the default configuration for the plugin.
This means manually editing a JSON file, sometimes through an SSH session with vi, and that's not funny.
Furthermore, this cannot be easily scripted in a maintainer script when creating a
.deb
or.rpm
package.So my suggestion is to have the possibility to "split" the configuration file, similarly to what Nginx does with the
sites-available
directory or the*.d
directories in/etc
(e.g.,/etc/apt/sources.list.d
). More info on the*.d
here.In this case, one can simply copy the default configuration for the plugin in the directory and it will be automatically used by zenoh, this is quite easy to do as a maintainer script in packages.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions