From 0a6f03cde0a336597358668041fa8eb6f463bac5 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 6 Apr 2017 05:15:29 +0000 Subject: allow omitting specifying socket name when inheriting listen socket Since the common case is still to run a single app inside yahns, we can simplify setup a bit for systemd (and like) users by allowing them to omit the "listen" directive when they are running a single app in yahns. --- Documentation/yahns-rackup.pod | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Documentation') diff --git a/Documentation/yahns-rackup.pod b/Documentation/yahns-rackup.pod index 3fbde0e..de2d4b6 100644 --- a/Documentation/yahns-rackup.pod +++ b/Documentation/yahns-rackup.pod @@ -40,6 +40,10 @@ and PATH is meant to be a path to a UNIX domain socket. Defaults to "0.0.0.0:9292" (all addresses on TCP port 9292). Multiple addresses may be separated with commas. +For systemd users, a special value of "inherit" may be specified +to inherit FDs using the LISTEN_FDS and LISTEN_PID environment +variables described in L + =item -O stderr_path=PATHNAME Allow redirecting $stderr to a given path. Unlike doing this from -- cgit v1.2.3-24-ge0c7