# HG changeset patch # User Kim Alvefur <zash@zash.se> # Date 1710082561 -3600 # Node ID 790f60c0843b69de33cc2324c0f95eeaecfb5ead # Parent 598df17b8ebbd07a62b7d833a5b0d47804431f7a util.startup: Back out 598df17b8ebb Broke signal handling again, such that an early s2s connection results in libunbound catching signals and getting Prosody killed on e.g. SIGHUP This returns to the situation where prosody --daemonize does not respond to signals. diff -r 598df17b8ebb -r 790f60c0843b util/startup.lua --- a/util/startup.lua Wed Mar 06 20:43:25 2024 +0100 +++ b/util/startup.lua Sun Mar 10 15:56:01 2024 +0100 @@ -790,9 +790,9 @@ startup.init_http_client(); startup.init_data_store(); startup.init_global_protection(); + startup.hook_posix_signals(); startup.prepare_to_start(); startup.notify_started(); - startup.hook_posix_signals(); end return startup;