diff --git a/dMasterServer/MasterServer.cpp b/dMasterServer/MasterServer.cpp index cb968169..0def5967 100644 --- a/dMasterServer/MasterServer.cpp +++ b/dMasterServer/MasterServer.cpp @@ -62,6 +62,7 @@ int main(int argc, char** argv) { //Triggers the shutdown sequence at application exit std::atexit(ShutdownSequence); signal(SIGINT, [](int) { ShutdownSequence(); }); + signal(SIGTERM, [](int) { ShutdownSequence(); }); //Create all the objects we need to run our service: Game::logger = SetupLogger();