diff options
author | Peter Powell <petpow@saberuk.com> | 2019-12-08 21:36:19 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-12-08 21:36:19 +0000 |
commit | 0dd7eaf63d2c55fa30f5eb4422b780a0f7ed4442 (patch) | |
tree | 93fccb2fddb0bef0de0b198c94f43f68e319da08 | |
parent | 9ad873886e518bf3621a88e8c48607ab79020c0a (diff) |
Call RecoverFromFork from ForkIntoBackground.
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 6d8272361..af9013515 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -168,6 +168,7 @@ namespace { setsid(); signal(SIGTERM, InspIRCd::SetSignal); + SocketEngine::RecoverFromFork(); } #endif return true; @@ -465,7 +466,6 @@ InspIRCd::InspIRCd(int argc, char** argv) std::cout << "InspIRCd Process ID: " << con_green << getpid() << con_reset << std::endl; IncreaseCoreDumpSize(); - SocketEngine::RecoverFromFork(); /* During startup we read the configuration now, not in * a seperate thread |