chiark / gitweb /
Explicit close-down notifications.
[tripe] / svc / watch.8.in
index 3e40251015a2d45ee2ec6bf6d4de74b0b8639c43..79ddbef9387a26ccff53146f3a52b6080c5b4d7b 100644 (file)
@@ -248,6 +248,17 @@ command will issue a command such as
 where
 .I our-name
 is the remote peer's name for this host.
+.PP
+Similarly, if the database record has a
+.B disconnect
+entry, then
+.B watch
+will use this to give the peer explicit notification that its services
+are no longer needed.  The value f the
+.B disconnect
+key is invoked as a Bourne shell command.  This ought to result in a
+.B KILL
+command being issued to the peer's server.
 .SS "Operation"
 On startup,
 .B watch
@@ -451,6 +462,10 @@ under various circumstances.  The process identifiers are as follows.
 A child spawned in order to establish a dynamic connection with
 .IR peer .
 .SP
+.BI "disconnect " peer
+A child spawned in order to shut down a dynamic connection with
+.IR peer .
+.SP
 .BI "ifdown " peer
 A child spawned to deconfigure the network interface for
 .IR peer .