mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
0253ff3d52
Summary: This updates edenfs to be able to daemonize itself, and moves the daemonization logic from the python CLI code into C++. The main benefit of this is that we can now do a better job of reporting messages to the user during start-up. We can log around potentially slow operations (opening the RocksDB local store), and we can print messages directly to the user if startup fails. Previously most failure messages would go only to the eden log and would not be printed to the user's terminal. This also fixes some issues where stdin and stdout were not closed properly when daemonization was performed by the CLI. sudo needed access to these file descriptors in case it needed to prompt for a password, and it would then hold the descriptors open until edenfs exited. Reviewed By: wez Differential Revision: D8373672 fbshipit-source-id: 3272bff2208596f41d26e479c82c700d6c1efe11 |
||
---|---|---|
.. | ||
test | ||
buck.py | ||
cmd_util.py | ||
config.py | ||
configinterpolator.py | ||
daemon.py | ||
debug.py | ||
doctor.py | ||
filesystem.py | ||
main.py | ||
mtab.py | ||
rage.py | ||
stats_print.py | ||
stats.py | ||
stdout_printer.py | ||
subcmd.py | ||
util.py | ||
version.py |