93bdd3ebd4
Previously if the `daemon.yml` of a host was changed it would first start up, load that new daemon.yml in, persist the new configuration for the host to garage using `update-garage-host`, pull that config back down and persist it to the bootstrap in `runDaemonPmuxOnce`, and restart all child processes so they get the new config. Now, once `daemon.yml` is loaded in we immediately merge it into and persist this host's bootstrap file, prior to ever starting child processes. This removes the necessity of restarting those process at start. This change also allows the bootstrap file to be the sole repository of information required to pick a garage node to connect to, since it is presumably always as up-to-date as it can possibly be. This allows for removing some more logic from `Env`. |
||
---|---|---|
.. | ||
src | ||
default.nix | ||
README.md |
go-workspace
This module is used for building all custom go binaries within the cryptic-net project.
The reason binaries are contained here, and not under the sub-directory for the sub-process the correspond to like most other code in this project, is that nix makes it difficult to compose multiple modules defined locally. If nix ever fixes this we should split this out.