feat: runtime routing

This commit is contained in:
fufsob committed 2026-10-10 16:33:24 +00:00
1 parent d70bcb317f
commit 584c8ba0a0
34 files changed
+1926 -112

No files matched your search

+15
View File
@@ -782,6 +782,21 @@ let
};
};
}
{
enable = proxyEnabled;
name = "proxy-suite-routing-apply";
value = mkOneshotService {
description = "Apply proxy-suite routing rules added at runtime";
execStart = scripts.applyRoutingScript;
# Root, over the spool the routing scope writes: it renders the rules into the state
# directory and restarts the backends whose config they change.
stateDirectory = "proxy-suite";
extraServiceConfig = {
RemainAfterExit = false;
}
// spoolReaderSandbox [ ];
};
}
{
enable = proxyEnabled;
name = "proxy-suite-outbound-pin@";