Software /
code /
prosody
Comparison
util/startup.lua @ 13459:790f60c0843b
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 10 Mar 2024 15:56:01 +0100 |
parent | 13458:598df17b8ebb |
child | 13461:c673ff1075bd |
comparison
equal
deleted
inserted
replaced
13458:598df17b8ebb | 13459:790f60c0843b |
---|---|
788 startup.init_promise(); | 788 startup.init_promise(); |
789 startup.init_async(); | 789 startup.init_async(); |
790 startup.init_http_client(); | 790 startup.init_http_client(); |
791 startup.init_data_store(); | 791 startup.init_data_store(); |
792 startup.init_global_protection(); | 792 startup.init_global_protection(); |
793 startup.hook_posix_signals(); | |
793 startup.prepare_to_start(); | 794 startup.prepare_to_start(); |
794 startup.notify_started(); | 795 startup.notify_started(); |
795 startup.hook_posix_signals(); | |
796 end | 796 end |
797 | 797 |
798 return startup; | 798 return startup; |