From 5f247199e897e2d79d1a31bfb53e2fdc943a4bde Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 27 Aug 2015 17:12:13 +0000 Subject: - New -wr | -wR options to s6-svc, s6-svlisten1 and s6-svlisten - skalibs and execline dep bump - rc for 2.2.1.0 unless more new functionality is needed for s6-rc --- doc/s6-svc.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'doc/s6-svc.html') diff --git a/doc/s6-svc.html b/doc/s6-svc.html index 86e6857..7c3b2bd 100644 --- a/doc/s6-svc.html +++ b/doc/s6-svc.html @@ -28,7 +28,7 @@ knowing their PIDs, and without using horrible hacks such as .pid files.

Interface

-     s6-svc [ -wu | -wU | -wd | -wD ] [ -T timeout ] [ -abqhkti12pcoduxO ] servicedir
+     s6-svc [ -wu | -wU | -wd | -wD | -wr | -wR ] [ -T timeout ] [ -abqhkti12pcoduxO ] servicedir
 

@@ -89,6 +89,11 @@ a notification-fd file to tell s6-supervise to accept readiness notification, s6-svc will print a warning and act as if the -wu option had been given instead. +

  • -wr : s6-svc will not exit until the service has been +started or restarted.
  • +
  • -wR : s6-svc will not exit until the service has been +started or restarted and has notified readiness.
  • +

    Usage examples

    @@ -119,6 +124,13 @@ the finish script has completed. is ready. Exit 1 if it is still not ready after 5 seconds.

    +
     s6-svc -wR -t /service/ftpd 
    +

    + Send a SIGTERM to the ftpd server; wait for +s6-supervise to restart it, and block +until it has notified that it is ready to serve again. +

    +
     s6-svc -a /service/httpd/log 

    Send a SIGALRM to the logger process for the httpd server. If this logger -- cgit v1.3.1