From 1abf8c1f53e7796df0873013cb9a7391ed63a195 Mon Sep 17 00:00:00 2001 From: Henrik Friedrichsen Date: Sun, 8 Oct 2023 12:41:10 +0200 Subject: [PATCH] fix: Remove SIGHUP listener --- src/application.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/application.rs b/src/application.rs index f0d177390..a4385fff5 100644 --- a/src/application.rs +++ b/src/application.rs @@ -52,7 +52,7 @@ pub fn setup_logging(filename: &Path) -> Result<(), fern::InitError> { #[cfg(unix)] async fn handle_signals(cursive_callback_sink: CbSink) { - let mut signals = Signals::new([SIGTERM, SIGHUP]).expect("could not register signal handler"); + let mut signals = Signals::new([SIGTERM]).expect("could not register signal handler"); while let Some(signal) = signals.next().await { info!("Caught {}, cleaning up and closing", signal);