Software /
code /
prosody
Diff
util/startup.lua @ 13458:598df17b8ebb
util.startup: Hook signals after daemonization
signalfds stop working with epoll after forking
hooking signals later should not affect anything
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 06 Mar 2024 20:43:25 +0100 |
parent | 13454:b0c27628f588 |
child | 13459:790f60c0843b |
line wrap: on
line diff
--- a/util/startup.lua Wed Mar 06 19:12:11 2024 +0100 +++ b/util/startup.lua Wed Mar 06 20:43:25 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;