diff options
| author | Liam Mitchell <[email protected]> | 2025-02-27 02:16:10 +0000 |
|---|---|---|
| committer | Liam Mitchell <[email protected]> | 2025-02-27 02:16:10 +0000 |
| commit | c49b0a053c5e28de1afa83600ebffd383766e38a (patch) | |
| tree | 3b9e7880e09ff816edd1fc9f996015ed9e6ee522 /src/zenserver/main.cpp | |
| parent | Linux compilation fixes (diff) | |
| download | zen-c49b0a053c5e28de1afa83600ebffd383766e38a.tar.xz zen-c49b0a053c5e28de1afa83600ebffd383766e38a.zip | |
Implementation of service commands for Linux.
Diffstat (limited to 'src/zenserver/main.cpp')
| -rw-r--r-- | src/zenserver/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zenserver/main.cpp b/src/zenserver/main.cpp index f35010866..41e8d782c 100644 --- a/src/zenserver/main.cpp +++ b/src/zenserver/main.cpp @@ -396,6 +396,10 @@ main(int argc, char* argv[]) signal(SIGINT, utils::SignalCallbackHandler); signal(SIGTERM, utils::SignalCallbackHandler); +#if ZEN_PLATFORM_LINUX + IgnoreChildSignals(); +#endif + try { ZenServerOptions ServerOptions; |