We have a use-case where we need to reconfigure a host running Habitat services rather than re-provisioning it. We are currently doing this using the following procedure:
hab svc unload <svc>
# update /hab/svc/<svc_name>/user.toml
hab svc load <svc>
The issue we see is that, even though user.toml
has been updated, our reloaded service doesn’t pick up the new config values, and we have to do a hab config apply
as well.
While not a deal-breaker, we’d rather only inject configs with a single mechanism.
cc @bixu