mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 00:24:50 -04:00
re-implement daemonize (#8011)
This has long been something I've wanted to do. Basically the `Daemonize` code is both too flexible and not flexible enough, in that it offers a bunch of features that we don't use (changing UID, closing FDs in the child, logging to syslog) and doesn't offer a bunch that we could do with (redirecting stdout/err to a file instead of /dev/null; having the parent not exit until the child is running). As a first step, I've lifted the Daemonize code and removed the bits we don't use. This should be a non-functional change. Fixing everything else will come later.
This commit is contained in:
parent
481f76c7aa
commit
916cf2d439
4 changed files with 135 additions and 14 deletions
|
@ -59,7 +59,6 @@ REQUIREMENTS = [
|
|||
"pyyaml>=3.11",
|
||||
"pyasn1>=0.1.9",
|
||||
"pyasn1-modules>=0.0.7",
|
||||
"daemonize>=2.3.1",
|
||||
"bcrypt>=3.1.0",
|
||||
"pillow>=4.3.0",
|
||||
"sortedcontainers>=1.4.4",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue