From b8bcb6125d56327654b7975528b52f288627c17c Mon Sep 17 00:00:00 2001 From: lukem Date: Thu, 21 Mar 2002 12:29:18 +0000 Subject: [PATCH] document $command_interpreter --- share/man/man8/rc.subr.8 | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/share/man/man8/rc.subr.8 b/share/man/man8/rc.subr.8 index 289c0ae09ea5..900c82c1e6cb 100644 --- a/share/man/man8/rc.subr.8 +++ b/share/man/man8/rc.subr.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: rc.subr.8,v 1.4 2002/03/13 04:57:11 lukem Exp $ +.\" $NetBSD: rc.subr.8,v 1.5 2002/03/21 12:29:18 lukem Exp $ .\" .\" Copyright (c) 2002 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -34,7 +34,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd March 13, 2002 +.Dd March 21, 2002 .Dt RC.SUBR 8 .Os .Sh NAME @@ -308,6 +308,17 @@ is defined for each supported keyword. .It Sy command_args Optional arguments and/or shell directives for .Sy command . +.It Sy command_interpreter +.Sy command +is started with +.Dl #! command_interpreter [...] +which results in its +.Xr ps 1 +command being +.Dl command_interpreter [...] command +so use that string to find the PID(s) of the running command +rather than +.Ql command . .It Sy extra_commands Extra commands/keywords/arguments supported. .It Sy pidfile @@ -500,6 +511,7 @@ is started: .Li name , .Li command , .Li command_args , +.Li command_interpreter , .Li extra_commands , .Li pidfile , .Li rcvar ,