• Home
Name Date Size #Lines LOC

..--

BUILDD06-Sep-2024935 3531

README.mdD06-Sep-2024501 149

client.ccD06-Sep-20243 KiB10161

server.ccD06-Sep-20242.3 KiB6938

test.shD06-Sep-20241.7 KiB7144

README.md

1gRPC systemd Socket Activation Example
2================
3
4This 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.
5
6### Build and run the example
7
8The simplest way to exercise this is via `test.sh`. It roughly does the following:
9
10* Creates a systemd socket-activated service.
11* Builds the gRPC client & server.
12* Reloads the systemd daemon.
13* Runs the gRPC client, which in turn runs the gRPC server.
14