feat: runtime routing
This commit is contained in:
34 files changed
+1926
-112
No files matched your search
@@ -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@";
|
||||
|
||||
Reference in new issue
Block a user