Skip to content

Commit

Permalink
Update documentation/docs/25-build-and-deploy/40-adapter-node.md
Browse files Browse the repository at this point in the history
Co-authored-by: Conduitry <git@chor.date>
  • Loading branch information
benmccann and Conduitry authored Mar 8, 2024
1 parent 80e7566 commit d8c8a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docs/25-build-and-deploy/40-adapter-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ By default `adapter-node` gracefully shuts down the HTTP server when a `SIGTERM`

Most Linux operating systems today use a modern process manager called systemd to start the server and run and manage services. You can configure your server to allocate a socket and start and scale your app on demand. This is called [socket activation](http://0pointer.de/blog/projects/socket-activated-containers.html). In this case, the OS will pass two environment variables to your app — `LISTEN_PID` and `LISTEN_FDS`. The adapter will then listen on file descriptor 3 which refers to a systemd socket unit that you will have to create.

> You can still use [`envPrefix`](#options-envprefix) with systemd socket activation. `LISTEN_PID` and `LISTEN_FDS` are always passed to the app without a prefix.
> You can still use [`envPrefix`](#options-envprefix) with systemd socket activation. `LISTEN_PID` and `LISTEN_FDS` are always read without a prefix.
To take advantage of socket activation follow these steps.

Expand Down

0 comments on commit d8c8a90

Please sign in to comment.