diff options
Diffstat (limited to 'src/zenserver/main.cpp')
| -rw-r--r-- | src/zenserver/main.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/zenserver/main.cpp b/src/zenserver/main.cpp index 09ecc48e5..26ae85ae1 100644 --- a/src/zenserver/main.cpp +++ b/src/zenserver/main.cpp @@ -31,6 +31,8 @@ #include "hub/zenhubserver.h" +#include "proxy/zenproxyserver.h" + #if ZEN_PLATFORM_WINDOWS # include <zencore/windows.h> # include <zenutil/windows/windowsservice.h> @@ -291,6 +293,7 @@ main(int argc, char* argv[]) kHub, kStore, kCompute, + kProxy, kTest } ServerMode = kStore; @@ -308,6 +311,10 @@ main(int argc, char* argv[]) { ServerMode = kCompute; } + else if (argv[1] == "proxy"sv) + { + ServerMode = kProxy; + } else if (argv[1] == "test"sv) { ServerMode = kTest; @@ -333,6 +340,8 @@ main(int argc, char* argv[]) fprintf(stderr, "compute services are not compiled in!\n"); exit(5); #endif + case kProxy: + return AppMain<ZenProxyServerMain>(argc, argv); default: case kStore: return AppMain<ZenStorageServerMain>(argc, argv); |