summarylogtreecommitdiffstats
path: root/ps-handle-sighup-578_all.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ps-handle-sighup-578_all.patch')
-rw-r--r--ps-handle-sighup-578_all.patch6
1 files changed, 6 insertions, 0 deletions
diff --git a/ps-handle-sighup-578_all.patch b/ps-handle-sighup-578_all.patch
new file mode 100644
index 000000000000..59a686082b41
--- /dev/null
+++ b/ps-handle-sighup-578_all.patch
@@ -0,0 +1,6 @@
+--- a/src/main.cc
++++ b/src/main.cc
+@@ -199,2 +199,3 @@ main(int argc, char** argv) {
+ SignalHandler::set_handler(SIGINT, std::tr1::bind(&Control::receive_normal_shutdown, control));
++ SignalHandler::set_handler(SIGHUP, std::tr1::bind(&Control::receive_normal_shutdown, control));
+ SignalHandler::set_handler(SIGTERM, std::tr1::bind(&Control::receive_quick_shutdown, control));