mirror of https://github.com/grpc/grpc.git
[Example] Move systemd socket activation example (#33221)
parent
d58af7397f
commit
dbcb09d3d4
5 changed files with 16 additions and 6 deletions
@ -0,0 +1,13 @@ |
||||
gRPC systemd Socket Activation Example |
||||
================ |
||||
|
||||
This example shows how to use systemd's [socket-based activation](https://www.freedesktop.org/software/systemd/man/sd_listen_fds_with_names.html) with gRPC. |
||||
|
||||
### Build and run the example |
||||
|
||||
The simplest way to exercise this is via `test.sh`. It roughly does the following: |
||||
|
||||
* Creates a systemd socket-activated service. |
||||
* Builds the gRPC client & server. |
||||
* Reloads the systemd daemon. |
||||
* Runs the gRPC client, which in turn runs the gRPC server. |
Loading…
Reference in new issue