diff --git a/common/util.h b/common/util.h index 186873ac21..fa93c84de4 100644 --- a/common/util.h +++ b/common/util.h @@ -106,6 +106,7 @@ public: ExitHandler() { std::signal(SIGINT, (sighandler_t)set_do_exit); std::signal(SIGTERM, (sighandler_t)set_do_exit); + std::signal(SIGHUP, (sighandler_t)set_do_exit); #ifndef __APPLE__ std::signal(SIGPWR, (sighandler_t)set_do_exit);