diff options
Diffstat (limited to 'doc/s6-linux-init-shutdownd.html')
-rw-r--r-- | doc/s6-linux-init-shutdownd.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/s6-linux-init-shutdownd.html b/doc/s6-linux-init-shutdownd.html index b0d42f4..7b504d9 100644 --- a/doc/s6-linux-init-shutdownd.html +++ b/doc/s6-linux-init-shutdownd.html @@ -27,7 +27,7 @@ directly by the user. <h2> Interface </h2> <pre> - s6-linux-init-shutdownd [ -c <em>basedir</em> ] [ -g <em>gracetime</em> ] [ -C ] [ -B ] + s6-linux-init-shutdownd [ -d <em>notif</em> ] [ -c <em>basedir</em> ] [ -g <em>gracetime</em> ] [ -C ] [ -B ] </pre> <ul> @@ -51,6 +51,13 @@ machine. </li> <h2> Options </h2> <ul> + <li> <tt>-d</tt> <em>notif</em> : when ready +(actually listening to its named pipe), +write a newline to file descriptor <em>notif</em> then close it. +This allows s6-linux-init-shutdownd to use the +<a href="//skarnet.org/software/s6/notifywhenup.html">s6 mechanism to notify +readiness</a>. <em>notif</em> cannot be lesser than 3. +If this option is not given, no readiness notification is sent. </li> <li> <tt>-c <em>basedir</em></tt> : look for the <em>rc.shutdown</em> script in the <em>basedir</em><tt>/scripts</tt> directory. Default is <tt>/etc/s6-linux-init/current</tt>. </li> |