feat: runtime users and inbounds
This commit is contained in:
36 files changed
+2932
-83
No files matched your search
@@ -22,6 +22,7 @@ let
|
||||
torOnionEnabled
|
||||
whitelistBypassJoiners
|
||||
proxyInboundsEnabled
|
||||
proxyInboundsRuntimeEnabled
|
||||
proxyInboundsNeedLocalProxy
|
||||
scripts
|
||||
perAppRouting
|
||||
@@ -129,6 +130,16 @@ let
|
||||
};
|
||||
};
|
||||
}
|
||||
{
|
||||
enable = proxyInboundsRuntimeEnabled;
|
||||
name = "proxy-suite-inbounds-reload";
|
||||
value = mkOneshotService {
|
||||
description = "Apply proxy-suite inbound users and listeners added at runtime";
|
||||
execStart = scripts.reloadInbounds;
|
||||
stateDirectory = "proxy-suite";
|
||||
extraServiceConfig.RemainAfterExit = false;
|
||||
};
|
||||
}
|
||||
{
|
||||
enable = proxyInboundsEnabled;
|
||||
name = serviceNames.inboundStats;
|
||||
|
||||
Reference in new issue
Block a user