synapse-product/synapse/util
Richard van der Hoff 916cf2d439
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.
2020-08-04 10:03:41 +01:00
..
caches Fix some spelling mistakes / typos. (#7811) 2020-07-09 09:52:58 -04:00
__init__.py Fix some spelling mistakes / typos. (#7811) 2020-07-09 09:52:58 -04:00
async_helpers.py Fix some spelling mistakes / typos. (#7811) 2020-07-09 09:52:58 -04:00
daemonize.py re-implement daemonize (#8011) 2020-08-04 10:03:41 +01:00
distributor.py Convert device handler to async/await (#7871) 2020-07-17 07:09:25 -04:00
file_consumer.py Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04:00
frozenutils.py Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04:00
hash.py Use the v2 Identity Service API for lookups (MSC2134 + MSC2140) (#5976) 2019-09-11 16:02:42 +01:00
httpresourcetree.py Replace instance variations of homeserver with correct case/spacing 2019-11-12 13:08:12 +00:00
iterutils.py Log saml assertions rather than the whole response 2020-01-16 22:26:34 +00:00
jsonobject.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
logcontext.py Improve the backwards compatibility re-exports of synapse.logging.context (#5617) 2019-07-05 02:32:02 +10:00
logformatter.py Improve the backwards compatibility re-exports of synapse.logging.context (#5617) 2019-07-05 02:32:02 +10:00
manhole.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
metrics.py Clean up some LoggingContext stuff (#7120) 2020-03-24 14:45:33 +00:00
module_loader.py Handle config not being set for synapse plugin modules 2020-01-12 21:34:36 +00:00
msisdn.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
patch_inline_callbacks.py Fix some spelling mistakes / typos. (#7811) 2020-07-09 09:52:58 -04:00
ratelimitutils.py Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
retryutils.py Fix some spelling mistakes / typos. (#7811) 2020-07-09 09:52:58 -04:00
rlimit.py Remove usage of deprecated logger.warn method from codebase (#6271) 2019-10-31 10:23:24 +00:00
stringutils.py Fix deprecation warning: import ABC from collections.abc (#7892) 2020-07-20 13:33:04 -04:00
threepids.py Fix inconsistent handling of upper and lower cases of email addresses. (#7021) 2020-07-03 14:03:13 +01:00
versionstring.py Handle FileNotFound error in checking git repository version (#6284) 2019-10-30 11:00:15 +00:00
wheel_timer.py Replace all remaining six usage with native Python 3 equivalents (#7704) 2020-06-16 08:51:47 -04:00