From de9d078a7785d5314f609d352ee01701b532b62c Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 6 Jun 2024 15:52:23 -0700 Subject: [PATCH] systemd option old-commit-hash: 95183ff77842fcb9592715db07396be28d778197 --- common/util.h | 1 + 1 file changed, 1 insertion(+) 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);