isle/go-workspace
Brian Picciano 93bdd3ebd4 Update host's config in bootstrap using daemon.yml prior to starting pmux
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`.
2022-10-16 15:38:15 +02:00
..
src Update host's config in bootstrap using daemon.yml prior to starting pmux 2022-10-16 15:38:15 +02:00
default.nix Update nebula to v1.6.1 in go-workspace 2022-10-11 20:18:14 +02:00
README.md First public commit 2022-07-04 15:18:55 -06:00

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.