From 8233401d8cc0a53107e95671416ea4e1baf3e404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20Ker=C3=A4nen?= Date: Tue, 10 Aug 2021 21:57:13 +0300 Subject: [PATCH] Update README about SIGHUP --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a5281e9..1cd40c7 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,8 @@ fn main() { #### Try the example yourself `cargo build --examples && target/debug/examples/readme_example` -## Handling SIGTERM -Add CtrlC to Cargo.toml using `termination` feature and CtrlC will handle both SIGINT and SIGTERM. +## Handling SIGTERM and SIGHUP +Add CtrlC to Cargo.toml using `termination` feature and CtrlC will handle SIGINT, SIGTERM and SIGHUP. ``` [dependencies] ctrlc = { version = "3.0", features = ["termination"] }