sapling/eden/fs/service
Matt Glazar f86b6fc746 Forward systemd startup logs to 'eden start'
Summary:
When you run 'eden start' without systemd integration, edenfs writes startup logs to the terminal to let users know that stuff is happening:

```
$ eden start
Starting edenfs (dev build), pid 2792025
Opening local RocksDB store...
Opened RocksDB store in 0.95 seconds.
Remounting 1 mount points...
Successfully remounted /data/users/strager/fbsource-dev
Started edenfs (pid 2792025)
Logs available at /data/users/strager/.eden-dev/logs/edenfs.log
```

These startup logs are also used by various tests (especially 'eden restart's tests).

Make the same thing happen when running 'eden start' with systemd integration, improving the user experience and making some tests work:

```
$ EDEN_EXPERIMENTAL_SYSTEMD=1 \
  ./buck-out/gen/eden/cli/eden.par start \
  --daemon-binary "${PWD}/buck-out/gen/eden/fs/service/edenfs"
Starting edenfs (dev build), pid 2800760
Opening local RocksDB store...
Opened RocksDB store in 0.693 seconds.
Remounting 1 mount points...
Successfully remounted /data/users/strager/fbsource-dev
Started edenfs (pid 2800760)
```

Reviewed By: wez

Differential Revision: D13241979

fbshipit-source-id: de79b714e42b690fdab7c21d9add46bc2da35328
2018-12-07 17:07:08 -08:00
..
oss print the build version when edenfs is starting 2018-06-26 12:07:08 -07:00
test Forward systemd startup logs to 'eden start' 2018-12-07 17:07:08 -08:00
__init__.py enable Black python formatting and apply to eden 2018-05-09 21:37:07 -07:00
client.py add type information to the eden.thrift helper module 2018-11-14 13:03:09 -08:00
CMakeLists.txt update the CMake based build with new dependencies 2018-10-23 13:42:12 -07:00
eden.thrift show blob cache sizes in eden stats 2018-12-06 19:43:52 -08:00
EdenCPUThreadPool.cpp Rename UnboundedQueueThreadPool to UnboundedQueueExecutor and add a ManualExecutor variant 2018-08-03 13:21:59 -07:00
EdenCPUThreadPool.h Rename UnboundedQueueThreadPool to UnboundedQueueExecutor and add a ManualExecutor variant 2018-08-03 13:21:59 -07:00
EdenError.cpp update eden to be more liberal when parsing BinaryHash arguments 2018-03-20 16:47:12 -07:00
EdenError.h run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
EdenServer.cpp remove DirHandle 2018-12-05 01:34:53 -08:00
EdenServer.h show blob cache sizes in eden stats 2018-12-06 19:43:52 -08:00
EdenServiceHandler.cpp Fix crash for getSHA1(./hello) 2018-12-07 16:34:42 -08:00
EdenServiceHandler.h Add command to chown a mount 2018-11-07 08:58:31 -08:00
fb-edenfs@.service Forward systemd startup logs to 'eden start' 2018-12-07 17:07:08 -08:00
main.cpp Make 'eden start' run a bare minimum systemd service (opt-in) 2018-12-06 16:01:43 -08:00
PrettyPrinters.cpp Store Hg dirstate data in Hg instead of Eden. 2017-11-06 19:56:49 -08:00
PrettyPrinters.h Store Hg dirstate data in Hg instead of Eden. 2017-11-06 19:56:49 -08:00
StartupLogger.cpp Forward systemd startup logs to 'eden start' 2018-12-07 17:07:08 -08:00
StartupLogger.h Forward systemd startup logs to 'eden start' 2018-12-07 17:07:08 -08:00
streamingeden.thrift adopt new thrift streaming API 2018-09-20 12:54:23 -07:00
StreamingSubscriber.cpp move folly/experimental/logging to folly/logging/ 2018-04-30 21:29:29 -07:00
StreamingSubscriber.h Create Eden Mount on Windows 2018-12-04 18:14:48 -08:00
Systemd.cpp Make 'eden start' run a bare minimum systemd service (opt-in) 2018-12-06 16:01:43 -08:00
Systemd.h Make 'eden start' run a bare minimum systemd service (opt-in) 2018-12-06 16:01:43 -08:00
ThriftUtil.h folly::Optional -> std::optional 2018-10-23 18:51:59 -07:00