aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/main.cpp
diff options
context:
space:
mode:
authorLiam Mitchell <[email protected]>2025-02-27 02:16:10 +0000
committerLiam Mitchell <[email protected]>2025-02-27 02:16:10 +0000
commitc49b0a053c5e28de1afa83600ebffd383766e38a (patch)
tree3b9e7880e09ff816edd1fc9f996015ed9e6ee522 /src/zenserver/main.cpp
parentLinux compilation fixes (diff)
downloadzen-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.cpp4
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;