Hello,

Am Wed, 13 Jan 2021 13:57:07 +0100
schrieb "Andrej Shadura" <and...@shadura.me>:

> > indeed matrix-synapse does it properly - it just needs the "--daemonize" 
> > option.
> > See my updated patch: it uses "--daemonize" (for matrix-synapse) instead of
> > "--background" (for start-stop-daemon).
> > (the removal of "--exec" in "stop" is unrelated and still necessary)
> > 
> > This fixes the start/stop issue.  
> 
> Unfortunately, that would undo the fix for the bug #920339

yes, let's not repeat history too quickly :)


> I’m going to keep your original fix.

Or maybe contemplate the suggestion in [1] (based on the discussion of the
issue, which you thankfully opened for upstream): add "db_stop" in order to
prevent the file descriptor leakage in the beginning.
(but I am just guessing here, this is not really my field)

Thank you for your care!

Cheers,
Lars


[1] https://github.com/matrix-org/synapse/issues/9099#issuecomment-759697583

Reply via email to