Files
grpc/examples/cpp/systemd_socket_activation
nipil ed8af1fb82 [examples] fix binary path in systemd socket activation test script (#36034)
Fix failing copy operations due to incorrect path levels

Closes #36034

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36034 from nipil:fix_systemd_socket_activation_path 2415112c22e2771d3cc4a4a3816ca6256fe462ff
PiperOrigin-RevId: 613997786
2024-03-08 11:42:02 -08:00
..

gRPC systemd Socket Activation Example

This example shows how to use systemd's socket-based activation 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.