diff options
author | Kim Alvefur <zash@zash.se> | 2024-03-06 20:43:25 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2024-03-06 20:43:25 +0100 |
commit | ed94077e82bbec1ce020b820a72de751b48d2f7d (patch) | |
tree | 5062973bcb8fe48a9fc5a1b57b7a78b93758d007 /util | |
parent | fabcc218817f0accba74a109efe42aa94fda087d (diff) | |
download | prosody-ed94077e82bbec1ce020b820a72de751b48d2f7d.tar.gz prosody-ed94077e82bbec1ce020b820a72de751b48d2f7d.zip |
util.startup: Hook signals after daemonization
signalfds stop working with epoll after forking
hooking signals later should not affect anything
Diffstat (limited to 'util')
-rw-r--r-- | util/startup.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/startup.lua b/util/startup.lua index 92bf2987..1474de61 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; |