mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.startup: Hook signals after daemonization
signalfds stop working with epoll after forking hooking signals later should not affect anything
This commit is contained in:
parent
fabcc21881
commit
ed94077e82
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue