1
0
Commit Graph

16 Commits

Author SHA1 Message Date
d9723aeb87 secrets subscriber: make restart-all work 2025-03-31 23:01:48 +01:00
c3f550698d watch-outputs fix update logic
it was only working by accident, when it worked, which was by no
means all of the time

note that we unconditionally perform the action (restart or whatever)
once we've started and got the initial state of the outputs. That's
because we have no idea whether the outputs changed in the interval
between the controlled service initially starting and watch-outputs
starting, so updates in that interval could be lost
2025-03-25 23:44:21 +00:00
2b0972ed73 svc.open accepts a /nix/store folder not an outputs folder
this mostly makes things simpler
2025-03-11 00:21:44 +00:00
d4e46dbe28 secrets/subscriber don't depend on the services we're watching
this means a watched service can stop and start without killing
the subscriber, and that we can watch for services that don't
yet exist
2025-03-09 20:35:40 +00:00
d1f87a56e0 secrets/subscriber: use correct numbers for signals to s6-svc 2025-03-09 20:34:29 +00:00
d6b06abb63 delet second copy of output-template 2025-03-02 21:34:02 +00:00
c32d09bd83 output-template: run the tests 2025-03-02 21:09:11 +00:00
6649ebeccd firewall: use watch-outputs to track changes in zone->interface map
includes a horrible hack to work around (claimed (by me)) deficiencies
in the nftables parser
2025-02-28 00:43:20 +00:00
929226ed9e delete commented code 2025-02-27 20:55:30 +00:00
024c018262 run the output-template test 2025-02-22 00:10:19 +00:00
7e2b0068e6 nixfmt-rfc-style
There is nothing in this commit except for the changes made by
nix-shell -p nixfmt-rfc-style --run "nixfmt ."

If this has mucked up your open branches then sorry about that. You
can probably nixfmt them to match before merging
2025-02-10 21:55:08 +00:00
cc47515cf8 watch-outputs remove debug code 2024-09-06 00:13:54 +01:00
bcf5ab24e8 tidy watch-outputs startup message 2024-09-05 10:11:16 +01:00
5695c47496 add dig to anoia 2024-08-23 23:27:29 +01:00
e2c883356c add secrets-subscriber service, make hostapd use it 2024-08-15 23:00:41 +01:00
d79a941504 new package watch-outputs and example of its use 2024-08-14 22:58:17 +01:00