From 3cfff1b2a83ab4324882e21024c2ac03c41b0349 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 5 Mar 2015 14:07:48 +0000 Subject: - Fix -d option to s6-setsid - Version: 2.1.2.0 --- doc/index.html | 2 +- doc/s6-setsid.html | 11 ++++++----- doc/upgrade.html | 6 ++++++ package/info | 2 +- src/daemontools-extras/s6-setsid.c | 4 ++-- 5 files changed, 16 insertions(+), 9 deletions(-) diff --git a/doc/index.html b/doc/index.html index c8db7c9..f4f4add 100644 --- a/doc/index.html +++ b/doc/index.html @@ -99,7 +99,7 @@ library.

Download

diff --git a/doc/s6-setsid.html b/doc/s6-setsid.html index d5046af..966c723 100644 --- a/doc/s6-setsid.html +++ b/doc/s6-setsid.html @@ -31,7 +31,7 @@ foreground or background process group. @@ -55,9 +55,9 @@ sent a SIGCONT to resume. To avoid that, use the next option. not create a new session, but will create a new process group and attach its session's controlling terminal to the new process group before executing prog. It will forcefully grab the controlling -terminal from the former foreground process group, which means that -a process belonging to the former foreground process group attempting -to read from or write to that terminal will be stopped. +terminal from the former foreground process group: a process +belonging to that former foreground process group will be stopped if +it attempts to read from or write to that terminal.
  • -i : strict. If s6-setsid cannot perform the operations it needs, it will exit 111 with an error message.
  • -I : loose. If s6-setsid cannot perform the operations, @@ -66,7 +66,8 @@ This is the default.
  • -q : silent. s6-setsid will not print any warning message; it will exec into prog even if it cannot perform the operations.
  • -
  • -d ctty : assume ctty is +
  • -d ctty : assume file descriptor +number ctty is the controlling terminal for the current session. Default is 0. This is only useful when used with the -f or -g options.
  • diff --git a/doc/upgrade.html b/doc/upgrade.html index fd3d08e..0777b51 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -17,6 +17,12 @@

    What has changed in s6

    +

    in 2.1.2.0

    + + +

    in 2.1.1.2