mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-15 15:48:53 -05:00
Call startup commands as system triggers.
This helps ensures that we only consider ourselves "up" once all the startup functions have completed.
This commit is contained in:
parent
79f689e6c2
commit
80cfad233e
11 changed files with 29 additions and 11 deletions
|
|
@ -447,7 +447,7 @@ def setup(config_options):
|
|||
reactor.stop()
|
||||
sys.exit(1)
|
||||
|
||||
reactor.callWhenRunning(start)
|
||||
reactor.addSystemEventTrigger("before", "startup", start)
|
||||
|
||||
return hs
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue