aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2024-03-10 15:56:01 +0100
committerKim Alvefur <zash@zash.se>2024-03-10 15:56:01 +0100
commit1b62552e1d71b9e2cae804949525f994ecce1a9b (patch)
treed274ef7f574757c51764239282ffac39f5605bfa
parented94077e82bbec1ce020b820a72de751b48d2f7d (diff)
downloadprosody-1b62552e1d71b9e2cae804949525f994ecce1a9b.tar.gz
prosody-1b62552e1d71b9e2cae804949525f994ecce1a9b.zip
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.
-rw-r--r--util/startup.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/startup.lua b/util/startup.lua
index 1474de61..92bf2987 100644
--- a/util/startup.lua
+++ b/util/startup.lua
@@ -790,9 +790,9 @@ function startup.prosody()
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;